Skip to end of metadata
Go to start of metadata

In previous version of Framework, we have introduced three kind of storage for saving ViewState. They are PageCache, Session and Client.

In 2007 R2, the Framework now includes new option to save the state to physical disk. The option called FileServer enables the view state to be saved to a physical disk in the local computer or a shared drive in network.

The FileServer cache option solved many barriers around view state topic. With FileServer, you no longer have to worry about memory leaks or limited server resources.

Some of benefits using FileServer cache are:

    • Highly scalable. You can choose a network drive to store the caches which enable multiple web servers to access the state.
    • Decent performance. With more than dozen of high performance hard drives, you can choose a near-memory speed with high random access and sequential read write hard drive to store the caches.
    • Easily extensible. Unlike memory (RAM), you can easily extend hard drives with larger one when it becomes insufficient.

Features of FileServer:

    • Automatic cleaning. When the cache for the viewstate has expired, the caches will be automatically deleted.
    • Easily configurable for application-wide through web.config.
    • Allow customizations on cache policy and expiration duration.

See Also:

Use File Server for an Instance of Control

Configure File Server to Use Shared Network Drive