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.
I am using appdynamics for the first time (trial account). I have created a .NET app in AppDynamics portal and followed the steps as mentioned while creating the application (also check the video).
1. I have also installed the .NET agent on my Laptop.
2. Create sample applications (.NET Core) and hosted in IIS. Generate some load for testing.
3. Agent connection was successful.
Issue: I still cannot see any data/statistics on the application dashboard.
Did I miss anything?
Solved! Go to Solution.
There are a handful of issues that could be stopping the app from reporting but since it is a .NET Core app in IIS, the first thing to check would be if the app is running In-Process or Out-Of-Process. I suspect that the web application is running out-of-process and hosted by dotnet.exe process. If that is the case, you will need to configure the web application as a standalone application.
The following sample configuration demonstrates how to instrument a .NET Core standalone application hosted by the dotnet.exe :
<?xml version="1.0" encoding="utf-8"?> <appdynamics-agent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <controller host="mycontroller.mycompany.com" port="8090" ssl="false"> <application name="My Business Application" /> </controller> <machine-agent /> <app-agents> <IIS> <applications /> </IIS> <standalone-applications> <standalone-application executable="dotnet.exe" command-line="MyApp.dll"> //command-line option instructs the agent to monitor only "MyApp" <tier name="DotNet Core Tier" /> </standalone-application> </standalone-applications> </app-agents> </appdynamics-agent>
Here is a link to our documentation about setting up standalone applications:
Also, here is a link to the Microsoft docs about the Hosting models for ASP.NET Core if you need help determining what hosting model is set for your application.