Ninject.Extensions.UnitOfWork 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    
   }

Install-Package Ninject.Extensions.UnitOfWork -Version 1.0.1
dotnet add package Ninject.Extensions.UnitOfWork --version 1.0.1
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 8,221 10/17/2015
1.0.0 390 7/31/2015