Skip to content

A framework for managing entities in storage. Supports object compression, property name abbreviation, and encryption by annotation. Additional libraries are available for a CosmosDB implementation of the framework.

License

Notifications You must be signed in to change notification settings

Dream-Invent-Inspire/dii.storage

Repository files navigation

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.

About

A framework for managing entities in storage. Supports object compression, property name abbreviation, and encryption by annotation. Additional libraries are available for a CosmosDB implementation of the framework.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages