Programming
Logging Failed Requests to Serilog Using Middleware
This is an evolution of my previous post in which I described a method for inspecting the body of a request in a middleware method and passing it out so it could be logged later if required. The below code reads in the body of a request and then if Read more…