How to write a custom middleware in .NET Core

Oct 25, 20212 min read 104 views

There are many scenarios where you need a custom middleware, such as: logging, adding a RequestId header, debugging integrations with 3rd parties(to...

How to write a custom middleware in .NET Core