This document explains how to install the .NET agent and monitor WCF applications.
Install for WCF applications
To install the .NET agent on IIS-hosted WCF apps:
- Install the latest .NET agent.
For self-hosted WCF applications (hosted as a custom Windows Service, a console app, or a Windows Forms app) take note of the instructions to enable the agent for your application.
- Ensure you give each WCF app a descriptive name.
Enable or disable ASP.NET compatibility mode in your WCF application depending on which type of events you want monitored:
- ASP.NET pipeline events and WCF events
When ASP.NET compatibility mode is enabled, the .NET agent instruments ASP.NET pipeline events as well as WCF events. In this mode, the agent provides you with a full view of your application stack.
- Only WCF events
When ASP.NET compatibility mode is disabled, the .NET agent only instruments WCF events. Any activity that occurs as part of the ASP.NET pipeline will not be captured, such as agent API calls that are made outside of a WCF transaction.
If your application is receiving traffic, data should appear within a few minutes. If it doesn't, see No data appears.