A simple .NET persistence library which uses XML file storage.
This project has now been updated to use .NET standard and the built-in dependency resolution framework. The easiest way to use it in an ASP.NET Core app. Simply include the following in your ConfigureServices to use the default configuration:
Then to use SimpleDatastore create instances of the
IRepository<> for your types. All your objects need to inherit from
PersistentObject. Decorate any fields you want to persist with the
System.Runtime.Serialization.DataMember attribute. The default configuration uses the ASP.NET
IMemoryCache but you can implement your own version.
A full working example app is included in the solution.