Azure AppInsights ASP.net core




ASP.Net Core

<ItemGroup> <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.8.0" /> </ItemGroup>


Startup.cs


public void ConfigureServices(IServiceCollection services) { // The following line enables Application Insights telemetry collection. services.AddApplicationInsightsTelemetry(); // This code adds other services for your application. services.AddMvc(); }






Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type