ASP.NET Core Exception Middleware

Handling errors is one of the most important aspect of any application. ASP.NET Core Exception Middleware provides an option to implement global exception handling logic. ASP.NET Core has provided try, catch & finally block for exceptions handling. Instead of implementing these blocks in all the methods it is better to implement a global exception handler. […]

ASP.NET Core Middleware

Middleware got introduced in ASP.NET with .NET Core. ASP.NET Core Middleware allows controlling the web application request pipeline. The middleware approach got introduced to configure the ASP.NET request pipeline. Introduction ASP.NET Core Middleware is a piece of code that gets executed on every request. ASP.NET Core comes with built-in middleware e.g. routing, session, MVC, etc […]