AppFabric to NCache Migration
Configuration Differences
AppFabric has been discontinued by Microsoft, hence, companies are looking for solutions that may be a substitute or an upgrade over AppFabric. NCache provides more control over the caching content than AppFabric.
First of all, NCache configuration and AppFabric configuration is completely different. AppFabric takes the cache configuration at runtime whereas NCache is configured before the application is run. The following table shows all the configuration classes that are used to configure AppFabric which will NOT be required for NCache.
AppFabric Configuration class |
---|
Microsoft.ApplciationServer.Caching.DataCacheServerEndpoint |
Microsoft.ApplciationServer.Caching.DataCacheFactoryConfiguration |
Microsoft.ApplciationServer.Caching.DataCacheLocalCacheProperties |
Microsoft.ApplciationServer.Caching.DataCacheFactory |
Microsoft.ApplciationServer.Caching.DataCache |
Microsoft.ApplciationServer.Caching.DataCacheSecurity |
Microsoft.ApplciationServer.Caching.DataCacheSecurityMode |
Microsoft.ApplciationServer.Caching.DataCacheServiceAccountType |
Microsoft.ApplciationServer.Caching.DataCacheLocalCacheInvalidationPolicy |
Microsoft.ApplciationServer.Caching.DataCacheFactoryConfiguration |
Microsoft.ApplciationServer.Caching.DataCacheTransportProperties |
Microsoft.ApplciationServer.Caching.DataCacheProtectionLevel |
All these configurations and settings can be configured via NCache Manager or the command line tool (if using NCache OpenSource).
Important
To begin developing AppFabric applications with NCache, please refer to AppFabric API vs. NCache API which provides a thorough comparison of APIs and their similarities for a smooth transition.