PerrequestLifetimeManager 1.0.0

PerrequestLifetimeManager Package description

Install-Package PerrequestLifetimeManager -Version 1.0.0
dotnet add package PerrequestLifetimeManager --version 1.0.0
<PackageReference Include="PerrequestLifetimeManager" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PerrequestLifetimeManager --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Unity.Wcf.PerrequestLifetimeManager

Unity.Wcf is a popular library in .net which allows WCF applications to implement IOC using Unity. This allows a developer to container that can inject dependecies to classes. Unity.Wcf has several lifetime managers to configure the lifetime of objects in the container. The Unity.Wcf library lacks a lifetime manager that expires per request to the service. The PerrequestLifetimeManager was developed to address this issue.

How to install?

Install-Package PerrequestLifetimeManager -Version 1.0.0

How to configure?

Once the library is installed into the project you can add the following lifetime manager when you register dependencies in WCF.

container.RegisterType<InterfaceName, ClassName>(new PerRequestLifetimeManager());

Inaddition to this the package gives you access to lifetime managers implemented by Unity.Wcf

Unity.Wcf.PerrequestLifetimeManager

Unity.Wcf is a popular library in .net which allows WCF applications to implement IOC using Unity. This allows a developer to container that can inject dependecies to classes. Unity.Wcf has several lifetime managers to configure the lifetime of objects in the container. The Unity.Wcf library lacks a lifetime manager that expires per request to the service. The PerrequestLifetimeManager was developed to address this issue.

How to install?

Install-Package PerrequestLifetimeManager -Version 1.0.0

How to configure?

Once the library is installed into the project you can add the following lifetime manager when you register dependencies in WCF.

container.RegisterType<InterfaceName, ClassName>(new PerRequestLifetimeManager());

Inaddition to this the package gives you access to lifetime managers implemented by Unity.Wcf

Release Notes

Use this library if you want to adapt per request based lifetime manager using Unity.Wcf

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 541 10/14/2018