This is a small project which uses a PageAdapter to store the current pages viewstate and controlstate in memcached in order to reduce network traffic to and from the client, and to reduce the risk of any tampering.
The project should be frictionless and can be applied to a compiled ASP .NET app by configuring the site.
To use this you need to do a few things: 1. Add BeITMemcached configuration to your web.config. Look at the beitmemcached project (http://code.google.com/p/beitmemcached/) for more info on how to configure this. The minimum required is to merge the following into web.config.
<configSections>2. Add MemcachedViewStatePageAdapter.browser from the test project to your App_Browsers folder 3. Copy BeITMemcached.exe and MemcachedViewStatePageAdapter.dll to your bin folder.<section name="beitmemcached" type="System.Configuration.NameValueSectionHandler" /></configSections> <beitmemcached><add key="ViewStateCache" value="127.0.0.1" /></beitmemcached>
The viewstate for each page should now just contain the key used to retreive the ViewState from memcached. The ViewStates should expire after 48 hours.