Status Code Pages Middleware Problem Solved

added by DotNetKicks
12/1/2016 10:39:15 PM

2 Kicks, 569 Views

If you're trying to get the ASP.NET Core Status Code Pages middleware to work, but it just is ignored no matter what, one thing to check is the rest of your middleware pipeline. If you have middleware that is writing anything to the response, it will cause the status code pages middleware to be ignored.