Contents tagged with ReliableDictionary

  • How to use Reliable State manager in Azure Fabric

    Hello everybody,

    today I want to describe a bit how to use Reliable State Manager in Azure Fabric.

    First of all, I want to say that reliable state manager is some kind of entity which for me is very very similar to MongoDB collections. The only diffference is that it allows to have transactions, while in MongoDb you can't have them. In case if you need to use it in your class, you'll need to have reference to it's basic interface. For example like this:

    class ServiceFabricStudentRepository : IStudentRepository

        {

            private IReliableStateManager _stateManager;

            private object cancellationToken;

            public ServiceFabricProductRepository(IReliableStateManager  … more