custom error pages - which one is better: CustomErrors in web.config or application_error? -
i'm trapping 404 errors in mvc website. have option either via adding customerrors element in web.config or application_error, don't know 1 better. difference between two?
i'd recommend use application_error approach. way can log 404'd request data, in way can generate future reports. afaik, if redirect request using web.config settings, lose info.
Comments
Post a Comment