DocumentDbExtensions NuGet Package

This library provides:
1) Automatic retry logic with overloads taking both synchronous and asynchronous delegates compatible with all DocumentDB client methods.
2) A "query interceptor" that A) both allows use of the aforementioned retry logic with Linq IQueryables against DocumentDB (this supports paging as well as stream-out via "yield")
3) A "query interceptor" that B) allows direct use of DateTime/Offset within the clauses.

No need to record these types of properties in the form of ticks or unix epoch values and then convert manually in your clauses anymore. Simply decorate any DateTime/Offset properties with a special attribute and it "just works" while serializing to the database in ISO 8601 human-readable format.

Additional benefits:
Using this library allows you to simply return a DocumentDB IQueryable to the Microsoft OData libraries, allowing those libraries to convert any OData query in the URL into a DocumentDB query with no extra translation logic needed.

Again, it "just works". An example along with tests demonstrating this functionality is available at https://github.com/nkinnan/DocumentDbExtensions.




Got any DocumentDbExtensions Question?





Info

Version: 1.3.2
Author(s): Nick Kinnan
Last Update: Thursday, August 16, 2018
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/nkinnan/DocumentDbExtensions
NuGet Url: https://www.nuget.org/packages/DocumentDbExtensions


Install
Install-Package DocumentDbExtensions
dotnet add package DocumentDbExtensions
paket add DocumentDbExtensions
DocumentDbExtensions Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.3

avg-downloads-per-day

9

days-since-last-release

2320