Freigeben über


Version 1.5 of ManagedEsent released. PersistentDictionary goodness

There is a new release of ManagedEsent on Codeplex. There are some new APIs, constants for the new Windows 7 ESENT features, bugfixes and performance improvements.

 There is also a new Esent.Collections.dll which contains a PersistentDictionary generic class. This is a drop-in compatible replacement for the generic Dictionary or SortedDictionary classes for applications that need very simple data persistence. The database is stored in a location specified in the dictionary constructor.

var dict = new PersistentDictionary<string, int>("DataDirectory");
dict["foo"] = 17;
dict["bar"] = 18;

The dictionary entries are persisted automatically and updates are transacted providing data consistency and crash resilience.

Comments

  • Anonymous
    April 07, 2010
    Hi Laurion,  Thanks for the great classes. I was wondering when I can find the source code for these. Thanks again!