what are the new feature in c# 5.0 ?
where we can use asp.net seesion@view state ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Jun 13, 2013, 4:27 AM
hi,
Please refer below link, it might help you.
http://msdn.microsoft.com/en-us/library/hh156499.aspx
http://blogs.msdn.com/b/mvpawardprogram/archive/2012/03/26/introduction-of-new-features-in-c-5-0.aspx
View State is one of useful client side state management mechanism. It is used to store the page value at the time of post back.
http://msdn.microsoft.com/en-us/library/ms972976.aspx
hope this will help you.
Sunny SharmaPosted Jun 13, 2013, 1:14 AM
C# 5.0's big new feature is support for asynchronous functions via two new
keywords, async and await. Asynchronous functions enable asynchronous continuations,
which make it easier to write responsive and thread-safe rich-client applications.
They also make it easy to write highly concurrent and efficient I/O-bound
applications that don't tie up a thread resource per operation.
Here is a good article explaining where to use ViewState, Session etc.:
http://devshop.wordpress.com/2008/04/10/how-to-choose-from-viewstate-sessionstate-cookies-and-cache/
Hope it helps :)
Thanks.