You need to store state and configure the application

DRAG DROP
You are developing an ASP.NET MVC application in a web farm. The application has a page that
uploads a customer’s photo, resizes it, and then redirects the browser to a page where the new
image is displayed along with the final dimensions.
The final dimensions should be available only to the page where the new image is displayed.
You need to store state and configure the application.
What should you do? (To answer, drag the appropriate item to the correct location. Each item may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)


DRAG DROP
You are developing an ASP.NET MVC application in a web farm. The application has a page that
uploads a customer’s photo, resizes it, and then redirects the browser to a page where the new
image is displayed along with the final dimensions.
The final dimensions should be available only to the page where the new image is displayed.
You need to store state and configure the application.
What should you do? (To answer, drag the appropriate item to the correct location. Each item may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)


Answer:



Leave a Reply 8

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


Saeid

Saeid

InProc doesn’t cover web farm. TempData is correct.

Tantra

Tantra

Correct answer is TempData and Sql server

mlkone

mlkone

I think Tantra is correct.
1 TempData
2 SQLserver

kasp

kasp

It is not clear to me why TempDate instead of ViewData but this may be helpful:
http://stackoverflow.com/questions/173159/difference-between-viewdata-and-tempdata

“When an action returns a RedirectToAction result it causes an HTTP redirect (equivalent to Response.Redirect). Data can be preserved in the TempData property (dictionary) of the controller for the duration of a single HTTP redirect request”

“No, ViewData will not preserve data through Redirect. That’s the main difference of TempData”