By default, AppFabric caching provides two configuration stores: a SQL server store and an XML file store. These two options defeat the purpose of the distributed caching mechanism which is to avoid a single point of failure.
This solution provides and demonstration of a custom configuration provider for AppFabric caching that avoids the single point of failure problem by using S3 to give greater uptime.
You can create your own datastore by implementing the IDataStoreProxy interface and injecting the new implementation into the TransactionContext. Look at the existing AmazonProxy for guidance.
The solution contains 4 projects
- A WinForms executable project that creates the UI for the custom configuration provider to be used by the AppFabric wizard
- A library which contains the custom implementation of ICustomProvider which uses Amazon S3 as the configuration store (as opposed to a SQL database or a shared folder)
- A test project with some very light tests
- A deployment project which will set up all of the registry keys necessary and place the executable and library into the appropriate folders.
Please see the content pages for installation instructions