Uninstalling the eG .NET Profiler

Follow the steps below to uninstall the eG .NET Profiler on the Microsoft Azure App service:

  1. Go to the SCM web site of the .NET web application that is being traced by the eG .NET Profiler. For that, use the URL: https://<Name_of_web_application>.scm.azurewebsites.net. For instance, if the .NET web application being monitored is egdemoapp, then the SCM URL of the app will be: https://egdemoapp.scm.azurewebsites.net. Once the web site opens in the Kudu console, choose the CMD option from its Debug console menu (see Figure 1).

    Figure 1 : Choosing the CMD option from the Debug console menu of the Kudu console

  2. When Figure 2 appears, navigate to the location of the eG_dotNETBTM package you had installed earlier. This will be D:\home\site\eG_dotNETBTM. The contents of the package will be listed as depicted by Figure 2.

    Figure 2 : Contents of the eG_dotNETBTM folder

  3. First, take a backup of all the ini files that are listed in Figure 2.

  4. Then, login to the Azure portal. Figure 3 will then appear, From the options listed at the top of Figure 3, select App Services, as indicated.

    Figure 3 : The Azure console

  5. Figure 4 will then appear listing the web applications deployed on the App Services platform. To uninstall the .NET profiler, first locate the .NET application in the list of applications in Figure 4, and then click on it.

    Figure 4 : Click on the .NET application deployed on the App Services platform

  6. Figure 5 will then appear. Keep scrolling down the options listed in the left pane of Figure 5, until you find the Extensions option. Alternatively, you can type Extensions in the Search text box on the top of the left pane. Doing so, will automatically take you to the Extensions option. Once this option becomes visible, click on it.

    Figure 5 : Selecting the Extensions option

  7. Upon selecting the Extensions option from the left pane, the right panel will change to display the list of Extensions that pre-exist (if any). Browse that list for the eGEnterprise.dotNET.Azure extension that you added previously. Click on that extension. Figure 6 will then appear.

    Figure 6 : The properties of the eGEnterprise.dotNET.Azure extension

  8. To uninstall the profiler, you first need to delete this extension. Click on the Delete option indicated by Figure 6 to achieve this. Figure 7 will then appear. Click on the Yes button in Figure 7 to confirm deletion.

    Figure 7 : Confirming the deletion of the eG .NET profiler extension

  9. If deletion is successful, then the Figure 8 will appear confirming the same.

    Figure 8 : A notification confirming the deletion of the extension

  10. Now, log out of the Azure portal. Once again, go to the SCM web site of the .NET web application that is being traced by the eG .NET Profiler. For that, use the URL: https://<Name_of_web_application>.scm.azurewebsites.net. Using the Kudu console that opens, navigate to the location of the eGHelperAssembly.dll. This will typically be in the D:\home\site\wwwroot\bin folder. Once you switch to that folder, the contents of the folder will be listed (see Figure 9).

    Figure 9 : Locating the eGHelperAssinbly.dll

  11. Proceed to delete the .dll file by clicking on the encircled '-' button alongside the file in Figure 9. Figure 10 will appear prompting you to confirm the deletion.

    Figure 10 : A prompt requesting you to confirm the deletion of the eGHelperAssembly.dll file

  12. Click on the OK button in Figure 10 to proceed with the deletion.

  13. Finally, restart the Azure App Service.