Showing posts with label Alternative to View State in MVC in Asp.net. Show all posts
Showing posts with label Alternative to View State in MVC in Asp.net. Show all posts

3 August 2013

Alternative to View State in MVC in Asp.net

Alternative to View State in MVC in Asp.net

1. For retaining the values during postback in the MVC page values you can use Ajax, so that values in the     control won't clear.
2. For temporarily storing the value in current and the subsequent requests use TempData. TempData preserves value for current and next request.

TempData - http://royalarun.blogspot.in/2013/08/viewbag-viewdata-tempdata-and-view.html


Implementing OAuth validation in a Web API

 I mplementing OAuth validation in a Web API Implementing OAuth validation in a Web API using C# typically involves several key steps to sec...