Where should you persist state information?

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.

Where should you persist state information?

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.

Where should you persist state information?

A.
Store search results and page index in Session.

B.
Use QueryString to store search terms and page index.

C.
Store search results and page index in TempData.

D.
Use Application state to store search terms and page index.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


asd

asd

B querystring