Go to All Forums

Enable/Disable Site24x7 in .net core 2.2

I want to how can I enable disable the application inside my .net core application.

Below is the response which I got from you technical team but it not working.

Regarding the .NET Core agent, you can enable or disable the agent. By default, the agent will be in the enabled state. You can disable the agent using the below steps:

  1. Open the <ApplicationPublishPath>/apmapplication.conf (Note: This will be created on start monitoring the application. You can create this file even before starting the .NET Core application).
  2. Add the below key value in the file apmapplication.conf to disable the agent.
    •  agent.enabled%3Dfalse
  1. Restart the .NET Core application.

Please suggest. 

Like (0) Edit Delete Reply
Replies (0)