Add the .NET Agent to Your Azure Solution

Use the NuGet package manager to browse the nuget.org package source and install the AppDynamics.Agent.Azure.CloudServices package to your Azure solution in Visual Studio.

For details about managing NuGet packages, see the documentation for your version of Visual Studio.

The AppDynamics.Agent.Azure.CloudServices package installation prompts you as follows:

  • The installer may ask you to verify your changes. If so, click OK.
  • Click I accept to agree to the terms of the license.

The package manager installs the .NET agent into your project.

The configuration file installs to <project_root>/App_Data/AppDynamics/Config/config.xml. Enter the connection information for your Controller in the config.xml file. For details about Controller connection settings, see Agent-to-Controller Connections. .

AppDynamics config.xml File

By default the .NET Agent names Azure tiers as role name for Cloud Services.

If you want to customize the tier name, edit config.xml under <project_root>/App_Data/AppDynamics/Config.xml. For more information and examples, see "Name IIS Tiers Manually" on Name .NET Tiers.

After you finish any configuration changes, publish your solution to Windows Azure. For Cloud Services solutions, you can put load on your published project and log on to the Controller and begin monitoring your solution.