Click here to Skip to main content
15,887,361 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Like the title says, I want to be able to display an error page and send a 404 header while keeping the url of the page that could not be found. What would be a good approach for achieving this?

What I have tried:

I've looked at attribute routing bu can't seem to wrap my head around how I would use it to achieve what I'm trying to do.
Posted
Updated 6-Jun-18 0:21am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900