• Articles
  • API Documentation
  • GitHub
  • Abhith
  • Articles
  • ASP.NET Core
  • Application Insights with Cloud Role Name

    Show / Hide Table of Contents
    • Introduction
    • ASP.NET Core
      • API Exception Handling
      • Application Insights with Cloud Role Name
      • Default Health Checks
      • Logging
    • Application
      • MediatR

    ASP.NET Core - Application Insights with Cloud Role Name

    In the ConfigureServices method,

      services.AddAppInsight(Configuration, "Project NAME API");
    

    This will register application insights with the specified cloud role name. Cloud role name is useful when you have number of microservices reporting to the same Application Insights resource.

    • Improve this Doc
    Back to top Generated by Abhith Rajan using DocFX