Optimizing ASP.NET MVC view lookup performance

Earlier today Sam Saffron from the StackExchange team blogged about the performance of view lookups in MVC. Specifically, he compared referencing a view by name (i.e. calling something like @Html.Partial(“_ProductInfo”)) and by path (@Html.Partial(“~/Views/Shared/_ProductInfo.cshtml”)). His results indicate that in scenarios where a page is composed from many views and partial views (for example, when you…


Project Templates and preinstalled NuGet packages

10/22 Update: This post was written before this feature became a part of NuGet.This feature is now a part of NuGet and the latest version of this information can be found on the NuGet docs site.There is also a sample project available. Over the last few years the ASP.NET team has been including more and…


ASP.NET MVC Performance Tips

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…


ASP.NET MVC 3 Performance – on par with MVC 2

Now that the final version of MVC 3 has been released I think information about the performance characteristics of this latest installment would be very useful for those weighing the pros and cons of updating their MVC 2 applications. In this post I will talk about what you might expect when moving to MVC 3….


MVC 3 Project Upgrade Tool

We have just released the final version of ASP.NET MVC 3. Read the official MVC 3 release information or download MVC 3. To help you upgrade your MVC 2 projects to MVC 3 we have released an upgrade tool. You can download it here: http://aspnet.codeplex.com/releases/view/59008. (This is an update of the tool that Eilon Lipton previously…