Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a best practice in Hybrid Framework for handling http errors (404, 500, etc)? Preferably one that maintains the url and status code.
Hello,
For 404 we always use SEO Checker because it's very easy to do 404's with that. For 500 you could have a look at this code: https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Controllers/Base/SurfaceRenderMvcController.cs#L67
Jeroen
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to handle http errors?
Is there a best practice in Hybrid Framework for handling http errors (404, 500, etc)? Preferably one that maintains the url and status code.
Hello,
For 404 we always use SEO Checker because it's very easy to do 404's with that. For 500 you could have a look at this code: https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Controllers/Base/SurfaceRenderMvcController.cs#L67
Jeroen
is working on a reply...