If the application you want to monitor is executed on Windows, install the AppDynamics .NET Core microservices agent for Windows to your project. Then, set the environment variables for your Controller.
Before you Start
Before you install the .NET Core microservices agent, make sure you have access to the AppDynamics Controller where your application metrics will appear.
Install the .NET Core Microservices Agent
Install the AppDynamics.Agent.Windows NuGet package in your project. See your IDE documentation for instructions.
Set up your Environment Variables for your system application:
<actual_path>is the complete path to the AppDynamics.Profiler dll.
- Open the AppDynamicsConfig.json file and update the file with your AppDynamics Controller information.
You have the following options to configure the .NET Agent to connect to the AppDynamics Controller:
- During development: As shown in the previous screenshot, you can enter your environment variables in the AppDynamicsConfig.json file, and save it in source control.
- During build: Define your msbuild parameters or environment variables that are passed to the AppDynamicsConfig.json file at build time. AppDynamicsConfig.json does not exist at build time, so if you're defining your msbuild parameters or environment variables at build time, you will need to ignore it in source control so that the new AppDynamicsConfig.json file can be created.
- During runtime: Enter your environment variables in Azure.
- Deploy the application.