Microsoft
70-519 · Question #228
70-519 Question #228: Real Exam Question with Answer & Explanation
Sign in or unlock 70-519 to reveal the answer and full explanation for question #228. The question stem and answer options stay visible for context.
Question
You are designing an ASP.NET MVC 2 application. You need to centralize the logic for handling and logging unhandled exceptions. Which approach should you recommend?
Options
- AUse try and catch on every method.
- BOverride the One Exception method of each controller.
- CDecorate all controllers with a custom Handle Error attribute
- DDecorate all controllers with the default Handle Error attribute,
Unlock 70-519 to see the answer
You've previewed enough free 70-519 questions. Unlock 70-519 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.