Wednesday, February 18, 2015

Profiling an ASP.NET MVC Web Application

If you want to profile or measure the performance of your ASP.NET MVC Application, there are several ways that you can accomplish this:

  1. Create or use MVC Filters to profile your MVC Controller Action Methods
  2. Use Glimpse to continuously monitor your ASP.NET MVC Application 
 If you want to profile your individual MVC Action Methods, you can use a Stopwatch Filter that is readily available from the NuGet gallery: https://www.nuget.org/packages/StopWatch/

For more information on how to use the StopWatch Filter in your ASP.NET MVC Web Application, you can check out this article: http://blogs.msdn.com/b/webdev/archive/2014/07/29/profile-and-time-your-asp-net-mvc-app-all-the-way-to-azure.aspx

If you want to leverage Glimpse in your ASP.NET MVC Web Application, you can install it as a NuGet package from here: https://www.nuget.org/packages/Glimpse.Mvc5/

For information on how to leverage Glimpse within your ASP.NET MVC Web Application, you can check out this article: http://www.asp.net/mvc/overview/performance/profile-and-debug-your-aspnet-mvc-app-with-glimpse

No comments:

Post a Comment