cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Kevin.Schneider
Explorer

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.

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.