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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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