Supported versions
- .NET 5.0, 6.0, 7.0, 8.0, 9.0: Profiler or NuGet package
- .NET Core 3.1: NuGet package only (the profiler does not support it)
Profiler
The profiler attaches at runtime through environment variables. See the Profiler overview for prerequisites and the full list of variables.Linux
-
Download and extract the profiler into a directory your application can read, such as
~/atatus: -
Set these environment variables before starting the application:
- Restart the application.
Windows
- Download the Windows profiler ZIP in your browser.
-
Extract All… and choose a folder such as
C:\atatus. -
Set these environment variables in PowerShell before starting the application:
- Restart the application.
NuGet package
.NET 7.0 and above
-
Install the package:
-
Call
AddAllAtatus()inProgram.csbefore building the app: -
Add your app name and license key to
appsettings.json: - Restart the application.
.NET Core 3.1 to .NET 6.0
-
Install the package:
-
Call
UseAllAtatus(Configuration)as the first line ofConfigureinStartup.cs: -
Add your app name and license key to
appsettings.json(as shown above). - Restart the application.
Deploying on IIS
ASP.NET Core runs behind the ASP.NET Core Module on IIS, so the same code works. Publish the application, copy the output (including the generatedweb.config) to the IIS site folder, and recycle the application pool. For profiler-based IIS setup, see the IIS guide.
Next steps
- Customizing the agent: analytics, tracing, and request body capture
- Per-integration setup: SQL Client, MongoDB, Redis, Azure Service Bus
- Troubleshooting