How to Handle Exceptions, Validations in ASP.NET Core Web API

This post looks at the best ways to handle exceptions, validation and other invalid requests such as 404s in ASP.NET Core Web API projects and how these approaches differ from MVC error handling. Why do we need a different approach from MVC? In .Net Core, MVC and Web API have been combined so you now […]

Read more