Ninject.Extensions.UnitOfWork 1.0.1

dotnet add package Ninject.Extensions.UnitOfWork --version 1.0.1
NuGet\Install-Package Ninject.Extensions.UnitOfWork -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="Ninject.Extensions.UnitOfWork" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ninject.Extensions.UnitOfWork --version 1.0.1
#r "nuget: Ninject.Extensions.UnitOfWork, 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 Ninject.Extensions.UnitOfWork as a Cake Addin
#addin nuget:?package=Ninject.Extensions.UnitOfWork&version=1.0.1

// Install Ninject.Extensions.UnitOfWork as a Cake Tool
#tool nuget:?package=Ninject.Extensions.UnitOfWork&version=1.0.1

Extension that enables the usage of unit-of-work patterns in non-web applications.
You could look at this as being the equivalent of InRequestScope from web environments in console applications and services.
The unit-of-work scopes are kept consistent across async calls and tasks.

Setup:
   _kernel.Bind<IService>().To<Service>().InUnitOfWorkScope();
   
Usage:
   using(UnitOfWorkScope.Create()){
       // resolves, async/await, manual TPL ops, etc    
   }

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.

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.0.1 25,895 10/17/2015
1.0.0 1,378 7/31/2015