Log App Startup in ASP.NET Core with Serilog
Hey everyone, I'm Steve Smith aka ardalis, of NimblePros!
In this video we look at how to add logging during your ASP.NET Core app's startup in Program.cs using Serilog. Usually if there are problems when your app starts up, your application logger won't catch them because it's not yet running. That's why it makes sense to configure a separate logger specifically to wrap your application and its startup.
Get The Source Code
https://mailchi.mp/ardalis.com/youtub...
Links
https://serilog.net/
Check out my courses:
https://ardalis.com/training-classes/
https://www.pluralsight.com/authors/s...
Consulting and Training: https://NimblePros.com and @nimblepros
Developer Group Mentoring: https://devBetter.com
Free Weekly Email Tips:
https://ardalis.com/tips/
If you read this far, I hope you liked the video and consider subscribing to my channel!
Find me:
https://ardalis.com
/ ardalis
https://github.com/ardalis
/ stevenandrewsmith
https://bsky.app/profile/ardalis.com
#dotnet #deviq #ardalis #nimblepros #visualstudio #csharp #nuget #cleancode #logging #serilog #aspnetcore
Смотрите видео Log App Startup in ASP.NET Core with Serilog онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ardalis 21 Декабрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,80 раз и оно понравилось 21 людям.