This is a mirror of official site: http://jasper-net.blogspot.com/

ASP.NET MVC Performance Tips

| Tuesday, February 8, 2011
Database access is usually the largest performance bottleneck of web applications. But once you’ve optimized and cached your database queries as much as possible here are 3 quick tips that might help you squeeze out a few more requests out of your ASP.NET MVC applications and web servers.
Depending on which features you are using they might not always apply to your application and their benefit will not be that significant (a few % points improvement at most – sorry I don’t have more specific numbers as I’m writing this from memory). I can’t guarantee how much improvement you will see as it depends so much on what your application does. But I hope this will provide some leads for you to investigate. Just remember to always measure for your specific scenario.

Disable unused view engines

When: Your application is using built-in display/editor templates (via the Html.EditorFor or Html.DisplayFor methods) and you are using only one type of view engine.
Why: ASP.NET MVC is generally very good about caching file lookup hits (views, partials, display/editor templates). However one scenario that is not cached is the use of the built-in (default) display/editor templates (where all file lookups are misses).
Any time you use the Html.EditorFor or Html.DisplayFor methods and you do not have a matching template file MVC will generate the appropriate markup for you based on the model’s metadata. However, before that happens it checks all the view engines to find a template file. The more view engines you have registered the longer this will take and since the miss is not cached the process will have to be repeated the next time a page is requested. If you are using only one view engine in your project you should remove the other ones in Global.asax.

Read more: MSDN Blogs

Posted via email from Jasper-net

34 comments:

Anonymous said...

kxpa longchamp bags EeiAtz 3463
longchamp outlet gwsn http://www.longchampbagspurse.com/ longchamp outlet

Anetc itkweg longchamp handbags 1175
longchamp outlet hont http://www.longchamphandbagsusa.com/ longchamp outlet

drfl longchamp sale BwmIe paris k 9903
longchamp outlet htfs http://www.longchampsalepurse.com/ longchamp outlet

Fptnl igleta longchamp le pliage lbm9851
longchamp outlet refk http://www.longchamplepliageus.com/ longchamp outlet

Qqhak longchamp icqkcm
Ywt longchamp outlet zs viy longchamp paris tgi
Yeyjn longchamp tzkl long champ eg longchamp sale mmtbbp
Kjt longchamp outlet lg cqr longchamp paris ivc
Fsm longchamp le pliage xs longchamp uid longchamp le pliage pwb
Ypl longchamp outlet ym rb longchamp bags y longchamp paris iru

Anonymous said...

hivq longchamp bags LesMgi 0760
longchamp outlet yfuc http://www.longchampbagspurse.com/ longchamp outlet

Tswiu jueldi longchamp handbags 6511
longchamp outlet oktf http://www.longchamphandbagsusa.com/ longchamp outlet

xdwz longchamp sale MeyLb paris a 6824
longchamp outlet slhh http://www.longchampsalepurse.com/ longchamp outlet

Bcvuy bovovc longchamp le pliage tua2548
longchamp outlet gqph http://www.longchamplepliageus.com/ longchamp outlet

Klaoq longchamp nbwdbj
Ypp longchamp outlet qu cxx longchamp paris tga
Ifysx longchamp lrhu long champ wh longchamp sale cqrjnq
Wra longchamp outlet ng gtj longchamp paris jim
Wso longchamp le pliage jb longchamp pne longchamp le pliage ron
Ncr longchamp outlet ee ds longchamp bags w longchamp paris ukr

Anonymous said...

buy tramadol online no prescription tramadol to buy with no prescription - what is tramadol ultram 50 mg

Anonymous said...

where to buy xanax online no prescription xanax hair follicle drug test - buy xanax online united states

Anonymous said...

generic xanax side effects of xanax 0.25mg - xanax side effects nausea headache

Anonymous said...

xanax online prescription drug interactions between xanax and lexapro - xanax overdose prognosis

Anonymous said...

xanax 1mg xanax restoril drug interactions - xanax no prescription paypal

Anonymous said...

buy tramadol online no prescription cod effects of tramadol high - tramadol hcl no prescription

Anonymous said...

alprazolam drug generic xanax buspar - xanax 2mg circle

Anonymous said...

generic xanax best generic brands xanax - white xanax bars r039

Anonymous said...

tramadol overnight shipping tramadol 50mg hcl tablets - much tramadol overdose dog

Anonymous said...

buy tramadol online tramadol 4 dollar list - tramadol vicodin high

Anonymous said...

cheap tramadol online tramadol 50 mg withdrawal - tramadol online paypal

Anonymous said...

buy cialis with paypal cialis 30 day reviews - generic cialis vs brand cialis

Anonymous said...

buy tramadol online best dosage tramadol - tramadol 50 mg get you high

Anonymous said...

buy xanax high from xanax bars - alprazolam 0 5mg ems ms

Anonymous said...

buy tramadol online tramadol online free shipping - buy tramadol online by cod

Anonymous said...

cialis online cialis oral user reviews - cheap cialis

Anonymous said...

cheapest xanax xanax side effects on fetus - xanax side effects breathing

Anonymous said...

xanax online difference between xanax generic brand - what do generic xanax pills look like

Anonymous said...

buy cialis online cialis online coupon - generic cialis us pharmacy

Anonymous said...

xanax online xanax side effects dizziness - onax 2mg xanax review

Anonymous said...

http://buytramadolonlinecool.com/#59473 tramadol for anxiety - cheap tramadol fedex overnight

Anonymous said...

buy tramadol 180 tramadol and breastfeeding - can you buy tramadol over the counter in usa

Anonymous said...

http://landvoicelearning.com/#30896 tramadol hydrochloride 50 mg get high - tramadol online pharmacy usa

Anonymous said...

tramadol 100mg zydol tramadol dosage - tramadol highest dosage

Anonymous said...

buy tramadol buy tramadol online cash delivery - generic form tramadol

Anonymous said...

buy tramadol cod fedex tramadol for dogs human consumption - can you buy tramadol in greece

Anonymous said...

buy tramadol in florida tramadol 50 mg tab amneal - is ordering tramadol online illegal

Anonymous said...

ways to buy ativan online buy ativan toronto - ativan overdose dog

Anonymous said...

order ativan ativan side effects senior citizens - buy ativan in mexico

Anonymous said...

http://staam.org/#37708 possible get high tramadol - tramadol dosage in elderly

Anonymous said...

buy tramadol online half life tramadol 50mg - buy tramadol online us

Anonymous said...

google law firm