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