Microsoft
70-519 · Question #261
You are designing an ASP.NET Web application that contains both publicly accessible pages and administrative pages. You need to handle errors differently for publicly accessible pages and…
The correct answer is B. Use subclasses of System.Web.UL.Page with Page_Error methods. See the full explanation below for the reasoning.
Question
You are designing an ASP.NET Web application that contains both publicly accessible pages and administrative pages. You need to handle errors differently for publicly accessible pages and administrative pages, and you must use common code for each type of page. Which approach should you recommend?
Options
- AUse the Application_Error method in the Global.asax.cs file.
- BUse subclasses of System.Web.UL.Page with Page_Error methods.
- CUse the Page_Error method in each of the master pages.
- DUse the Page_Error method in each of the publicly accessible pages and administrative
How the community answered
(22 responses)- A5% (1)
- B82% (18)
- C5% (1)
- D9% (2)
Community Discussion
No community discussion yet for this question.