[Monitoring Cloud Applications]
You can use Microsoft Visual Studio with the NuGet package AppDynamics.Agent.Azure.CloudServices to add the .NET Agent directly to Azure Cloud Services projects: Web Roles and Worker Roles.
Prepare to Install the NuGet Package
To install the AppDynamics for Windows Azure NuGet package you need the following:
These instructions assume you are familiar with NuGet package management in Visual Studio and with the Microsoft Azure Portal. You can also try the step-through tutorial on how to instrument an App Service on the community knowledgebase.
If you are upgrading to a new version of the AppDynamics for Windows Azure NuGet Package, see Upgrade AppDynamics.WindowsAzure NuGet Package.
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 detail 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 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 AppDynamics Controller in the config.xml file. For details about Controller connection settings, see Agent-to-Controller Connections.
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 AppDynamics Controller and begin monitoring your solution.
If you have already published your solution, you can update the .NET Agent configuration for the currently installed version without upgrading the agent.
By default, the APPD_AGENT_CONFIGUPDATE variable is set to true. If you want to modify the configuration on your Azure Cloud Services machine, and you want to prevent the AppDynamics script from overwriting it, set APPD_AGENT_CONFIGUPDATE to false.