Blazor 404 Error when converting aspx pages to routing

22 Views Asked by At

I have converted my .Net 4.7 web application to a blazor application. When I am upgrading my clients, if someone had a link to the old application such as https://gosomewhere.com/default.aspx and now because of blazor routing, it would just go to https://gosomehwere.com and it knows the route.

How can I re-route someone on a 404 error that is a Blazor Server application to the home page which is the login page?

0

There are 0 best solutions below