Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
3.44/5 (4 votes)
See more:
Hi,

I am a newbie in MVC and am curious to know the following things:

1.As we know web is stateless and in ASP.Net we have so many client and server side technique's for state management.Now, in this new pattern MVC, are we not using them?

2.If no,then how is it solving the issue of quick response?

3.If yes,how? and what technique's among the well known are being used?

If there is any good article on the above topic,link to them will also be helpful.

Thanks in advance.
Posted
Updated 20-Nov-17 6:12am
Comments
avishekrc 14-Nov-12 6:11am    
Strange!I still haven't found any response in CP,thats interesting!!Is my question too naive??

In ASP.Net MVC all the state management available which are there in ASP.Net except view state.

ViewData, ViewBag and TempData object are new one in MVC.

As you are using session,cookies or hidden variable in ASP.Net same you can use in MVC

Hope you aware how HTTP maintain the state.

Please let me know still if you have any clarification.
 
Share this answer
 
v2
Comments
CHill60 16-Dec-13 11:15am    
Question was answered a year ago.
yes can use Tempddata['key'] bject for state management

as well as session,cookies can use like asp.net
 
Share this answer
 
Comments
Richard MacCutchan 20-Nov-17 13:40pm    
FIVE years too late!
ZurdoDev 21-Nov-17 7:29am    
Better late than never? ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900