A .NET 6 framework for managing entities in storage.
-
Object Compression β Specify which properties to compress into the stored object. dii.storage handles packing and unpacking of the compressed properties so you don't have to!
-
Property Name Abbreviation β Add unique property names used for stored objects while using clear names on your .NET properties.
-
Auto-Detect Types β Allows auto-detection of types used for storage. Don't worry, you can explicitly pass in types too!
-
Runtime Type Registration β Add new types to the Optimizer without requiring a system restart.
-
Infrastructure Auto-Creation β Allows the automatic creation of CosmosDB Database and Container at startup.
- Includes support for custom container names and time-to-live (TTL) settings.
-
Abstract Adapter β Provides an abstract adapter optimized to take advantage of dii.storage.
-
Features common access patterns with Get, Create, Replace, Upsert, Patch and Delete APIs.
-
Fully functional Bulk variants of all access patterns.
-
To get started with dii.storage, please check out the Getting Started section in our wiki. You can also view example code in the dii.storage.cosmos.examples project.
If you've got questions about setup, features, or just want to chat with the developer, please feel free to start a thread in our Discussions tab!
Submit an issue. Also feel free to submit pull requests with bug fixes or changes to the dev
branch.
The core optimizer of dii.storage was originally developed by Andrew Beers. Additional features and maintenance by Andrew, Derek Jeremias, and Pat MacMannis. Both original contributors are active with the project today.