Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
What is the correct way to handle exceptions in a view component? I would like the user to end up being redirected to an error page.
So do I catch exceptions in the view component and redirect from there, or is it possible to do it in the view that is using the view component and if so how?
Thanks in advance!