Click here to Skip to main content
15,886,026 members
Articles / Web Development / ASP.NET

Manage ViewState Using ASP.NET 2.0 Provider Architecture

Rate me:
Please Sign up or sign in to vote.
3.93/5 (5 votes)
5 Jun 2007CPOL7 min read 78.2K   752   49  
Serverside ViewState management using custom providers based on ASP.NET 2.0 provider pattern architecture.
Before trying to test SqlViewStateProvider please run the "ASPState update for ViewState.sql" script.
This script should be run in ASPState database.  

If you don't have the ASPState database setup locally please run the "ASPState.sql" to set it up.

ALSO the ViewStateConnectionString should be set up to point to the database in Web.config, and proper impersonation setup.

P.S. The update script could be run in ANY database and should work fine - but that has not been tested.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Web Developer
United States United States
Oleg Sobol has been developing web applications in ASP.NET using VB.NET for the past three years. Currently working for a leading online higher education provider, developing new online initiatives and supporting multiple education platforms.

Comments and Discussions