An open API service indexing awesome lists of open source software.

https://github.com/jke94/dotnet-application-insights-console-app-demo

A basic demo implementing in a console application the Microsoft Application Insights service.
https://github.com/jke94/dotnet-application-insights-console-app-demo

azure azure-insights azure-insights-metrics csharp dotnet net7

Last synced: 3 months ago
JSON representation

A basic demo implementing in a console application the Microsoft Application Insights service.

Awesome Lists containing this project

README

        

# Dotnet Application Insights Console App Demo

A basic demo implementing in a console application the Microsoft Application Insights service.

🚨 - Update *appsettings.json* file with the correct Application Insights connection string before to run or publish

## A. Publish console application.

Command to publish as auto-content dotnet application file.

- Note: Run command from base repository path.

```
dotnet publish -p:PublishProfile="ApplicationInsightsConsoleApp\Properties\PublishProfiles\PublishFileAutoContent.pubxml"
```

## B. Util information.

* [Application Insights overview](https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview?tabs=net)