0

Is there a way to direct specific errors to specific error pages or views (e.g. Error404.aspx) through MVC?

1

1 Answer 1

1

I've used the <customErrors> section of the web.config file to handle this in the past. This works in MVC and/or webforms.

If you don't like that approach, check out this article for a custom solution, and this one for some workarounds on the default architecture.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.