DocumentDbExtensions 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package DocumentDbExtensions --version 1.0.1
NuGet\Install-Package DocumentDbExtensions -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DocumentDbExtensions" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DocumentDbExtensions --version 1.0.1
#r "nuget: DocumentDbExtensions, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DocumentDbExtensions as a Cake Addin
#addin nuget:?package=DocumentDbExtensions&version=1.0.1

// Install DocumentDbExtensions as a Cake Tool
#tool nuget:?package=DocumentDbExtensions&version=1.0.1

This library provides:
1) Automatic retry logic with overloads taking both syncronous and asyncronous 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

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.2 1,683 8/16/2018
1.3.1 825 8/16/2018
1.3.0 865 8/16/2018
1.2.4 3,496 7/11/2018
1.2.3 1,001 6/2/2018
1.2.2 1,026 5/18/2018
1.2.1 1,017 5/18/2018
1.2.0 1,027 5/18/2018
1.1.5 5,086 4/26/2018
1.1.4 1,030 4/19/2018
1.1.3 2,412 3/9/2018
1.1.2 2,378 2/12/2018
1.0.1 4,534 10/23/2017
1.0.0 993 10/19/2017

Fixed issues with PDB, added Debug/Release options, smarter exception text when using library incorrectly.