MVC5 Performance Monitoring

.NET

ASP.NET MVC 5 is the latest version of .NET’s open-source web application framework. MVC 5 uses MVC (Model-View-Controller) architecture to write applications, services, and APIs. MVC 5 utilizes an extensible, plugin framework that enables developers to customize or replace such components as view engines, action-method parameter serialization, and URL routing policies. It also comes with powerful URL mapping to build apps with searchable URLs that support SEO-optimized naming patterns and REST (Representational State Transfer) Addressing.

MVC 5 incorporates a host of new features, including an updated project template that can use Bootstrap, powerful new authentication filters, filter overrides, and attribute routing support. MVC 5 can also be installed in tandem with MVC 4 for backward compatibility.

MVC5

For developers and operations teams building and managing applications with the MVC 5 framework, the AppDynamics platform provides a comprehensive solution for monitoring and managing the performance of your .NET applications. With rapid installation and the most scalable architecture in the industry, AppDynamics solutions help you deploy your applications more quickly and with more confidence.

ASP.NET MVC application flow

In this example, AppDynamics auto-discovers three ASP.NET MVC tiers and three backends. The SysLog-Web, SysLog-Service and SysLog-WebLog tiers are the ASP.NET MVC. The flow map shows the communication as the average number of calls per minute between the tiers and the average response time for a single call.

Business transactions

AppDynamics detects user requests for an ASP.NET MVC web application. It creates business transactions for the URI name, such as “/Video/Edit”, and displays them in the business transaction grid. The business transaction grid shows the overall health of the transaction and critical statistics, such as the number of calls per minute and the number of slow transactions, to help you monitor business transaction performance.

Transaction snapshots

AppDynamics takes transaction snapshots which contain diagnostic data to help you quickly analyze and troubleshoot problems with ASP.NET MVC business transactions. Transaction snapshots automatically begin when AppDynamics detects a slow or stalled transaction. In this example, the selected /Video/Edit business transaction is running normally while the others are running slow.

Call graph for ASP.NET MVC business transaction

Drill down into a transaction snapshot to display the call graph for ASP.NET MVC transactions. The call graph displays the code execution sequence timing so you can identify which methods have problems. In this example, The System.Web.Mvc.ControllerActionInvoker: Invoke method is taking 411 milliseconds, 22.1% of the time for the business transaction. It also shows an exit call to an ADO.NET backend.

Overall application performance

AppDynamics collects metrics on the overall application performance of ASP.NET MVC applications. Use the metric browser to create graphs of critical statistics. The graph below shows a that the calls per minute (in green) is maximum at 2:14am, 2:18am and 2:20am. The average response time (in blue) is maximum at 2:25am and 2:27am. The number of errors per minute (red) shows that there were no error found during the time range as it is at 0 throughout.

Start a 15 day free trial now