- Maintain agent configurations separately from web.config files.
- Enable instrumentation of Windows services and standalone applications without environment variables.
- Control agent behavior for specific applications with hierarchical configuration.
The AppDynamics Controller allows you to upload and manage .NET Agent configuration files. From the Controller, you can deploy a configuration to a machine or multiple machines where the agent is installed. See Manage Configuration for .NET.
Configure the agent properties in the
config.xml file in the agent Config directory. To edit the config.xml, you must launch the editor as an administrator. When you run the .NET Agent Configuration Utility, it writes the conifg
config.xml file to one of the following locations:
%ProgramFiles%\AppDynamics\AppDynamics .NET Agent\SampleConfigurations
After you edit the
|Appd net agent name|
- Shut down the
config.xmlfile as an administrator.
Modify the XML file according to the configuration instructions.
- Start the
- In some cases, you may need to restart IIS, instrumented Windows services, or instrumented Standalone applications. See individual
Appd net agent name
The most basic configuration demonstrates the required sections for agent configuration. This sample instruments all IIS applications using the automatic element (,
<automatic />). AppDynamics does not instrument Windows services or standalone applications in this case.