dii.storage.cosmos

A CosmosDB extension for dii.storage.


Keywords
Compression, Cosmos, CosmosDB, DiiStorage, MessagePack, Storage, abbreviation, annotation, storage-engine
License
GPL-3.0
Install
Install-Package dii.storage.cosmos -Version 2.2.1.1

Documentation

dii.storage

A .NET 6 framework for managing entities in storage.

Features

dii.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.

dii.storage.cosmos

  • 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.

Getting Started with dii.storage

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.

Questions? Need Help?

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!

Found a bug?

Submit an issue. Also feel free to submit pull requests with bug fixes or changes to the dev branch.

Contributors

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.