Catch errors globally in .net cores apis.
We usually use try/catch to log and catch exceptions, but we can do the same globally. We will create custom middleware to globally handle the exceptions.
Serilog tutorial: • c# logging with serilog | logging in ...
📎Source code: https://github.com/rd003/SerilogDemo/...
Hit the 👍 if you like the video.
.................
Please share this video to your circle to support me.
Other links:
📢 C# full Course: • c# tutorial for beginners #1
📢 Blazor Courses: • Blazor server crud tutorial
📢 Single video courses: • full courses (not masterclasses 😉)
📢 Angular tutorials and projects: https://bit.ly/3DitqDp
📢 dot net 6 tutorials and projects: https://bit.ly/3MSrXGX
📢 dot net core series: https://bit.ly/3TolF4i
📢 Learn projects from scratch: https://bit.ly/3zpn9ng
.......................................................
connect with me
👉 YouTube: / @ravindradevrani
👉 Twitter: / ravi_devrani
👉 GitHub: https://github.com/rd003
..........................................
Become a supporter ❣️:
You can buy me a coffee 🍵 : https://www.buymeacoffee.com/ravindra...
..................................................................................
#dotnet7 #dotnetcore