How to Use Serilog in ASP.NET Core Web API | .NET 6



Logging is an important part of any application. As long as everything runs smoothly, you don’t need it, but when you face any issue with your application, you better have logs that help you find the problem.

In this video, we will learn about Serilog and integrate it into an ASP.NET Core Web API application running on .NET 6.

00:00 Introduction
00:37 What is Serilog?
01:03 Why do I use Serilog?
01:42 Integrating Serilog in an ASP.NET Core Web API Project
04:21 Testing and Exploring Logging
05:24 Serilog: Provided Sinks
05:44 Serilog: Advanced Features

Source Code:
https://github.com/claudiobernasconi/SerilogDemo

Serilog Sinks (Providers):
https://github.com/serilog/serilog/wiki/Provided-Sinks

🔥 The FREE Blazor Crash Course:
https://www.youtube.com/watch?v=89Klc6WHElw&list=PLwISgxnkpZGL_LhTQCWwp-WCzupv7lcp0

📌 C# Programming Playlist:
https://www.youtube.com/watch?v=dKBuvdGsYYc&list=PLwISgxnkpZGIrkQGwOj6kKXLT8CAp9Gct

📌 Blazor Playlist:
https://www.youtube.com/watch?v=iS1W1DJ3nEQ&list=PLwISgxnkpZGITT6pELfCeQ6qK0G3ujldZ

✅ SUBSCRIBE FOR MORE VIDEOS
Subscribe: 🔔 https://claudiobernasconi.ch/Subscribe

🚀 CONNECT & SUPPORT
Patreon: https://patreon.com/claudiobernasconi
Twitter: https://www.twitter.com/CHBernasconiC
Blog: https://www.claudiobernasconi.ch

CREDITS
🎵 https://www.bensound.com/

Comments are closed.