nerdexam
Microsoft

70-519 · Question #53

You are designing an ASP.NET Web Forms application. The Web application has a heavy reliance on view state. You are designing the Web application for use in regions that have limited or…

The correct answer is A. Register a custom PageAdapter class that provides a SessionStatePagePersister. See the full explanation below for the reasoning.

Question

You are designing an ASP.NET Web Forms application. The Web application has a heavy reliance on view state. You are designing the Web application for use in regions that have limited or low-bandwidth connectivity. You have the following requirements:

  • Decrease bandwidth requirements.
  • Prevent any user from obtaining any part of the view state.
  • Do not require changes to existing pages, user controls, or code-

behind files that rely on the view state. You need to ensure that the Web application meets these requirements. Which approach should you recommend?

Options

  • ARegister a custom PageAdapter class that provides a SessionStatePagePersister.
  • BRegister a custom PageAdapter class that stores the view state in a cookie.
  • CConfigure IIS to use HTTP compression.
  • DConfigure IIS to use SSL.

How the community answered

(44 responses)
  • A
    73% (32)
  • B
    14% (6)
  • C
    5% (2)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice