Showing results for 
Show  only  | Search instead for 
Did you mean: 
AppDynamics Team (Retired)

This tutorial walks you through the steps to create an App Service in Visual Studio 2015 and add the AppDynamics for Windows Azure NuGet package to it.


Before Starting


To follow along with this tutorial, you need Visual Studio 2015 and an account on the Microsoft Azure Portal. You also need access to an AppDynamics 4.3 Controller.


For more information, see the documentation for AppDynamics for Windows Azure.


Create an App Service in Visual Studio


  1. Open Visual Studio.
  2. Sign in to your Microsoft Azure account under File > Account Settings...
  3. In Visual Studio, click File > New > Project.
  4. Select ASP.NET Web Application from Templates > Visual C# > Web.


  5. On the New ASP.NET Web Application window, select MVC.
  6. The Create App Service window prompts you to confirm/configure your Subscription, Resource Group, if any, and App Service Plan for Microsoft Azure.


  7. Click Create, to create your App Service on Azure.

Now you have a basic ASP.NET App Service you can monitor in AppDynamics.


Install the AppDynamics.WIndowsAzure NuGet package


  1. In the Solutuion Explorer in VisualStudio, right-click your solution, and select Manage NuGet Packages...


  2. On the Browse tab of the NuGet Package Manager Window, select "" as the Package source and search for "AppDynamics".


  3. Select the AppDynamics.Windows.Azure v4.3.0 package and click Install.
  4. The Preview window prompts you to review changes. Click OK.
  5. Click I Accept to accept the license agreement and the package manager installs the package to your solution.
  6. On the AppDynamics for Windows Azure window, enter the connection information for your AppDynamics Controller.

    When you click Apply, the package installer, adds the AppDynamics .NET Agent to your solution.
  7. Right-click, your solution, and click Publish.


  8. The Publish window lets you confirm the settings for the Azure App Service. Click Publish.

Visual Studio publishes your solution as an App Service on Microsoft Azure and opens the site in a browser window.


Configure the App Service on the Azure Portal


  1. Login to the Windows Azure portal.
  2. Click App Services and open the app service you created above.
  3. Under DEVELOPMENT TOOLS, click Console. A command propmt opens in the right pane.
  4. Run the following command to copy the applicationhost.xdt configuration file to the parent directory: 

    copy applicationHost.xdt ..

  5. Click Overview.
  6. Restart the App Service.
  7. Open your App Service in a browser. Reload the page to put some load on it.
    (tip) The Overview tab for your App Service shows the URL.
  8. After a minute or so, you can log into the AppDynamics Controller and monitor your App Service.

Version history
Last update:
‎01-31-2022 01:57 PM
Updated by: