It is very light weight Dependency Resolver based on patterns & practices - Unity. It can resolve both MVC Controller and WebApi Controller.
Install-Package UnityDependencyResolver -Version 1.0.0
dotnet add package UnityDependencyResolver --version 1.0.0
<PackageReference Include="UnityDependencyResolver" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnityDependencyResolver --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
- Unity (>= 2.1.505.2)