global error handling in asp.net core web api



global error handling in asp.net core web api

global error handling in asp.net core web api

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: https://youtu.be/YGv_3-nKWcw

๐Ÿ“ŽSource code: https://github.com/rd003/SerilogDemo/tree/GlobalErrorHandling

Hit the ๐Ÿ‘ if you like the video.

……………..
Please share this video to your circle to support me.

Other links:
๐Ÿ“ข C# full Course: https://www.youtube.com/watch?v=fA-zujqZlS0&list=PLP8UhDwXI7f_1lze_yKyG-51rS9WNAgMG&ab_channel=RavindraDevrani
๐Ÿ“ข Blazor Courses: https://youtu.be/r65oJNybfQY
๐Ÿ“ข Single video courses: https://youtube.com/playlist?list=PLP8UhDwXI7f-IFqwrx89QN1QIurYr94-p
๐Ÿ“ข 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: https://youtube.com/@ravindradevrani
๐Ÿ‘‰ Twitter: https://twitter.com/ravi_devrani
๐Ÿ‘‰ GitHub: https://github.com/rd003
……………………………………
Become a supporter โฃ๏ธ:
You can buy me a coffee ๐Ÿตย : https://www.buymeacoffee.com/ravindradevrani
……………………………………………………………………….
#dotnet7 #dotnetcore