Help APM APM for .NET Install .NET Core agent via NuGet

Install .NET Core agent using NuGet

  1. Add the NuGet package Site24x7.APMInsight.Agent to your .NET Core project using the Package Manager in Visual Studio.
    PM> Install-Package Site24x7.APMInsight.Agent
  2. Set the below environment variables, and replace with the necessary configuration:
    CORECLR_ENABLE_PROFILING=1
    CORECLR_PROFILER={989D151B-3F31-482E-926F-2E95D274BD36}
    CORECLR_PROFILER_PATH_64=APP_DEPLOYMENT_DIRECTORY\site24x7\core\x64\ClrProfilerAgent.dll
    CORECLR_PROFILER_PATH_32=APP_DEPLOYMENT_DIRECTORY\site24x7\core\x86\ClrProfilerAgent.dll
    CORECLR_SITE24X7_HOME=APP_DEPLOYMENT_DIRECTORY\site24x7\core
    DOTNET_ADDITIONAL_DEPS=APP_DEPLOYMENT_DIRECTORY\site24x7\core\additionalDeps
    DOTNET_SHARED_STORE=APP_DEPLOYMENT_DIRECTORY\site24x7\core\store
    S247_LICENSE_KEY=SITE24X7_LICENSE_KEY
  3. Replace SITE24X7_LICENSE_KEY with the license key copied from the Site24x7 portal.Install APM Insight .NET Core agent
  4. Publish and deploy the application.
  5. Perform transactions to start monitoring.

Note:

  • Ensure that the agent files are in the Site24x7 folder in the root of the application to be published.
  • Ensure that the environment variables are set correctly.     
Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help APM APM for .NET Install .NET Core agent via NuGet