WCF Performance Monitoring

.NET

For developers and operations teams building and managing applications with the Windows Communication Foundation (WCF) 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.

WCF Runtime Environment Application Flow Map

In this example, AppDynamics auto-discovers an ASP.NET tier and five backends.The flow map shows the communication as the average number of calls per minute the tier is making for a WCF call and the average response time for a single call.

Business transactions

AppDynamics detects user requests for a WCF call. It creates business transactions for the URI name, such as “InvoiceService.DoWork”, 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 selected transaction snapshot for ‘InvoiceService.GetInvoice’ business transaction is running perfectly alright.

Call graph for WCF business transaction

Drill down into a transaction snapshot to display the call graph for WCF transactions. The call graph displays the code execution sequence timing so you can identify which methods have problems. In this example, the WCF service –System.ServiceModel.Dispatcher.SyncMethodInvoker: Invoke method is taking 9 milliseconds, 3.7% of the time for the BT. It also shows an exit call to an ADO.NET backend.

WCF business transaction performance

AppDynamics collects metrics on the WCF business transaction performance of ASP.NET applications. Use the metric browser to create graphs of critical statistics. The graph below shows maximum calls per minute (in green) at 5:00 pm, the average response time (in blue) is maximum at 4:59am and there were no error found for the time period as errors per minute (red) is at 0 throughout.

WCF Remote Services Application Flow Map

In this example, AppDynamics auto-discovers two ASP.NET tiers and two backends. The NWTraders-WebLog and NWTraders-Portal tiers are the ASP.NET. NWTrader-Portal is making a WCF call. The flow map shows the communication as the average number of calls per minute the tier is making for a WCF call and the average response time for a single call.

WCF transaction snapshots

AppDynamics takes transaction snapshots which contains diagnostic data to help you quickly analyze and troubleshoot problems with WCF calls.

WCF call graph

Drill down into a transaction snapshot to display the call graph for WCF transactions. The call graph displays the code execution sequence timing, so you can identify which methods have problems. In this example, The System.ServiceModel.Channels.ServicechannelsProxy: Invoke Service method is taking 53 milliseconds, 16.5% of the time for the WCF exit call.

WCF remote services dashboard

WCF calls are detected under remote services. This section describes about the type of call, calls/min, response time etc. In this example, there is a WCF call with 15 calls/min, 69ms response time and 504 calls.

WCF backend performance

AppDynamics collects metrics backend performance (WCF in this case) of ASP.NET applications. Use the metric browser to create graphs of critical statistics. The graph below shows calls per minute (in green), average response time (in blue) and number of errors per minute (red). In this example it shows that calls/min was minimum and average response time was maximum at 3:08am, also there was no error found during the time range.

Start a 15 day free trial now