cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

NET (Agent, Installation)

Multiple .NET Core API's running on one server via IIS

Kevin.Schneider
Explorer

Multiple .NET Core API's running on one server via IIS

Is this the right installation choice if I have multiple .NET Core Web API's hosted via IIS on the same server?

 

https://docs.appdynamics.com/display/PRO44/Install+the+.NET+Core+Microservices+Agent+for+Windows

 

Are the environment variables configured via the web.config/IIS used?

 

Thanks.

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Multiple .NET Core API's running on one server via IIS
1 REPLY 1
Raunak.Mohanty
AppDynamics Team (Retired)

Hi Kevin,

That is correct. You will install/configure Microservices Agent for each IIS App.
Instead of creating System level environment variables you can defined the env variables directly at web.config like below

<aspNetCore processPath="dotnet" arguments=".\Web.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout">
<environmentVariables>
<environmentVariable name="CORECLR_PROFILER_PATH_64" value="C:\inetpub\wwwroot\NetCoreWeb\AppDynamics.Profiler_x64.dll" />
</environmentVariables>
</aspNetCore>

Thanks,
Raunak


Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.