ASP.NET Performance Monitoring

Get critical insight into the performance of your ASP.NET applications

Microsoft provides a set of performance counters including important IIS web server statistics related to CPU usage, garbage collection, and memory usage to track the performance of ASP.NET applications. These performance counters are difficult to monitor because they use the Windows process id as part of the counter instance name. Users need a robust application performance monitoring (APM) solution to properly track the performance of critical ASP.NET applications. 

For developers and operations teams building and managing applications with the ASP.NET framework (including MVC, MVC 2, MVC 3, MVC 4, and MVC 5), 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

ASP.NET is a free .NET-based framework that enables developers to build standards-based websites, apps, and services using CSS, HTML, and JavaScript. Using ASP.NET, developers can write web APIs that enable JSON or XML to talk to connected devices, including mobile ones. ASP.NET provides real-time functionality via a new developer library called SignalR. SignalR leverages HTML5-based API WebSockets and other connection management APIs to easily build dynamic, multi-directional communications among servers and clients without needing to change an application’s code. In addition to SignalR, Microsoft provides several other frameworks to complement and extend ASP.NET’s functionality. They include ASP.NET Dynamic Data, a scaffolding extension to write data drive apps; ASP.NET AJAX, a server- and client-side extension for coding ASP.NET pages that can use AJAX functionalities; and ASP.NET MVC Framework, a framework that uses MVC (Model-View-Controller) architecture to build web apps.

ASP .NET application flow

In this example, AppDynamics auto-discovers two ASP.NET tiers and two backends. The NWTraders-WebLog and NWTraders-Portal tiers are ASP.NET. 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 transaction dashboard

AppDynamics detects user requests for an ASP.NET web application. It creates business transactions for the URI name, such as “order-detail.aspx”, and displays them in the business transaction dashboard. The business transaction dashboard 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 business transactions. Transaction snapshots automatically begin when AppDynamics detects a slow or stalled transaction. In this example, the /admin/orders.aspx business transaction is running very slow.

Call graph for ASP.NET business transaction

Drill down into a transaction snapshot to display the call graph for ASP.NET transactions. The call graph displays the code execution sequence timing so you can identify which methods have problems. In this example, the GetResponse method is taking 264 milliseconds, 83.5% of the time for the business transaction. It also shows an exit call to an HTTP backend.

Overall application performance

AppDynamics collects metrics on the overall application performance of ASP.NET applications. Use the metric browser to create graphs of critical statistics. The graph at right shows a spike in the calls per minute (in green) at 2:03 pm. The spike doesn’t affect the average response time (in blue) or the number of errors per minute (red). When spikes do cause problems, graphs can help you correlate different system events.

Start a 15 day free trial now