Nuacht

In the next sections, we’ll implement a simple web API in ASP.NET Core. After we create our API, we’ll implement a Refit client to consume it.
ASP.NET Web API is a solid communications framework, and many applications can benefit from breaking free of IIS by including an embedded ASP.NET Web API server.
To implement global exception handling in ASP.Net Core Web API, we can take advantage of the built-in middleware UseExceptionHandler.