Install .NET agent for ASP.NET Core

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:

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.

For more help

Recommendations for learning more: