There's a lot broken with the stock standard ASP.NET MVC error handling. It can't display cshtml (Razor) pages :( They 302 redirect to the html error page. There's too many places to wire up, to handle errors.
Fear not! This package can save your day!
Install it and then define your error pages in your web.config. That's more or less it :)
The hard work has now been done.
Once more you can take control of your error handling with your ASP.NET MVC applications!
Regrets? Never! Go do it! Fix up all your busted apps. Now.
Install-Package MagicalUnicorn.MvcErrorToolkit -Version 2.2.2
dotnet add package MagicalUnicorn.MvcErrorToolkit --version 2.2.2
<PackageReference Include="MagicalUnicorn.MvcErrorToolkit" Version="2.2.2" />
paket add MagicalUnicorn.MvcErrorToolkit --version 2.2.2
- Updated WebActivator.