<system.web> <sessionState mode="Custom" customProvider="AppFabricCacheSessionProvider"> <providers> <add name="AppFabricCacheSessionProvider" type="Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider" /> </providers> </sessionState> </system.web>
New-CacheCluster -Provider System.Data.SqlClient -ConnectionString "Data Source=.;Initial Catalog=AppFabricCacheConfig;Integrated Security=True" New-Cache -CacheName “MyCache” -Eviction LRU -TimeToLiveMinutes 10 Grant-CachePermission -CacheName “MyCache” -User “DOMAIN\AppPoolIdentity” appfabric
Introduction In the evolution of distributed computing, managing state, speeding up data access, and ensuring reliable service execution have always been challenges. Microsoft introduced Windows Server AppFabric (often simply called "AppFabric") as a set of integrated technologies aimed at making it easier to build, scale, and manage web applications and composite services on IIS (Internet Information Services). <system