This document contains instructions for installing the .NET agent to monitor an ASP.NET Core application. These are additional caveats and instructions meant to supplement the standard install procedures (Windows | Linux).
For ASP.NET Core apps targeting .NET Core
For ASP.NET Core apps targeting .NET Core that are hosted in IIS, New Relic instruments these out-of-the-box. For applications not using IIS, you will follow the standard install procedures (Windows | Linux) but you must also enable the agent for your application and, if monitoring doesn't happen automatically, set up custom instrumentation:
- Enabling your app: See instructions for Windows and for Linux.
- Custom instrumentation: If you're not using Kestral, or if instrumentation doesn't happen by default for some other reason, you must custom instrument your app.
For ASP.NET Core applications targeting .NET Framework
For applications not hosted in IIS, or that are ASP.NET Core apps targeting .NET Framework, you will follow the standard install procedure for Windows but in addition you must explicitly enable the agent using these instructions.