NET (Agent, Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

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

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.

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

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

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.