Ninject.Extensions.UnitOfWork
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
dotnet add package Ninject.Extensions.UnitOfWork --version 1.0.1
Install-Package Ninject.Extensions.UnitOfWork -Version 1.0.1
<PackageReference Include="Ninject.Extensions.UnitOfWork" Version="1.0.1" />
Frameworks
No framework metadata available.
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.