WebGrid.NET Enterprise 5.0 now provides built-in feature to use shared network's hard drive to configure the FileCacheServer.
In this topic, you will learn how to use a shared network drive for the file server:
To configure FileCacheServer to use shared network's hard drive
- Bind WebGrid to AccessDataSource.
- Open WebGrid.NET Designer.
- Go to View State Settings, and set ViewStateStorage to FileServer.
- Set ViewStateServerConnection to "path=\\CacheServer\CacheStorage"
- Configure the identity of the account that has access to the server and network resources in web.config.
Sample web.config setting for identity:- <system.web>
<identity impersonate="true" userName="CacheServer\CacheAccount" password="CachePassword" />
</system.web>