10. Exception handling in ASP.NET Core Web API using Middleware
This is the 10th article in the ASP.NET with Entity Framework beginner series. In previous articles we covered a lot of basic and necessary things that should be part of any web API project. We did not cover exception handling so far. In this article we will talk about how to configure exception handling in ASP.NET web API. If we throw exceptions, ASP.NET adds extra information like error in line number, inner exception and other details....