DEV Community

Discussion on: ASP.NET Core request logging middleware

Collapse
prasadhkumar profile image
prasadhkumar

Actually i too tried custom exception middle ware in our .net core 2.2 Web API ..but we faced a issue when an exception happens we were not able to get the request body and save it to db using serilog.... Tried using memory stream too for it wasn't much help