<

Question 22


70-486 Skills Measured >> 1.4 Configure State Management >>

Question

You are developing an ASP.NET MVC news aggregation application that will be deployed to servers on multiple networks. The application must be compatible with multiple browsers. A user can search the website for news articles.

You must track the page number that the user is viewing in search results. You need to program the location for storing state information about the user's search.

What should you do?

  • A. Store search results and page index in Session.
  • B. Use Application state to store search terms and page index.
  • C. Use QueryString to store search terms and page index.
  • D. Store search results and page index in TempData

Answer:

C