Logging? How? When? What? Getting Started in C# .NET

Опубликовано: 30 Март 2026
на канале: Keep it simple, stupid.
227
2

Briefly going over the integrated logger of .NET 6 Web API.
I explain how to use it and how to configure it, when, what and why you would want to log.

Scaffolded .NET 6 Web API project with configured Serilog can be found on: https://www.patreon.com/posts/serilog...

If you found this video helpful, like & subscribe, that means a lot to me!
And you may buy me a coffee: https://www.buymeacoffee.com/kis.stupid

00:00 Intro
00:41 Usage
04:05 Log levels
05:10 Log filtering
09:46 Dependency injection
11:10 Database logging
12:45 Http logging
16:35 Problem
19:20 When to log
25:03 What to log
29:35 Tease next video
30:19 Outro

#dotnet #csharp #logging #entityframework #identityframework #mssqlserver #mssql #cleanarchitecture #authentication #api #development #local #web #fullstack #webdevelopment #authorization #jwt #bearer #cqrs #mediatr #webapi #cors #http #stateless