Skip to content

Using microsoft built-in logging for long-running cross-platform services

Notifications You must be signed in to change notification settings

aimenux/WorkerServiceLoggingDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET 5

WorkerServiceLoggingDemo

Using microsoft built-in logging for long-running cross-platform services

In this repo, i m enabling logging for long-running background services.

Two ways are provided in order to enable microsoft built-in logging :

📌 BasicWay : use exclusively Microsoft.Extensions.Logging and ILogger

📌 AdvanceWay : use also Microsoft.ApplicationInsights.WorkerService and TelemetryClient

Logging targets used in the demo are :

📌 console target

📌 application insights target

Tools : vs19, net 5.0

About

Using microsoft built-in logging for long-running cross-platform services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages