• Log inFree account

Install .NET agent for ASP.NET Core

This document contains instructions for installing New Relic's .NET agent to monitor an ASP.NET Core application. These are additional caveats and instructions that supplement the standard installation procedures for Windows and Linux.

ASP.NET Core apps targeting .NET Core

New Relic automatically instruments ASP.NET Core apps targeting .NET Core that are hosted in IIS.

For applications not using IIS, follow the standard installation procedures for Windows or Linux as applicable. In addition, you must enable the agent for your application and, if monitoring doesn't happen automatically, set up custom instrumentation:

ASP.NET Core apps targeting .NET Framework

For applications not hosted in IIS, or for ASP.NET Core apps targeting .NET Framework, follow the standard installation procedure for Windows. In addition, you must follow these procedures to explicitly enable the .NET agent.

Copyright © 2022 New Relic Inc.