The Unity Application Block (i.e. Unity) is a lightweight, extensible dependency injection container for .NET with support for interception.
What's pros and cons of using Enterprise Library Unity vs other IoC containers (Windsor, Spring.Net, Autofac ..)?
c# .net inversion-of-control unity-container enterprise-libraryAn hour ago I updated my nuget packages for the solution I'm working on and I get the error message, …
c# .net nuget unity-containerWe are using ASP.net MVC. Which of these is the best DI framework Ninject or Unity and why?
asp.net-mvc ninject unity-containerInterfaces (In the assembly named "Interfaces". In project :- Interfaces) namespace Interfaces { public interface IDoSomeWork1 { string DoSomeWork1(); } } namespace Interfaces { public …
c# unity-container enterprise-libraryAt my job we are using Moq for mocking and Unity for an IOC container. I am fairly new to …
c# .net moq unity-containerYesterday I've implemented the code: CustomerProductManager productsManager = container.Resolve<CustomerProductManager>(); It was compilable and working. Today (probably I've …
c# .net generics unity-container compilationI have the IRespository registered twice (with names) in the following code: // Setup the Client Repository IOC.Container.RegisterType<…
c# inversion-of-control unity-containerHow do I registertype with the container where the type doesn't have NO PARAMETER constructor. In fact my constructor accepts …
dependency-injection unity-container ioc-containerI'm using C# with Microsoft's Unity framework. I'm not quite sure how to solve this problem. It probably has something …
c# dependency-injection unity-container constructor-injectionI have a base controller in my MVC 5 project which implements some shared functionality. This functionality requires some dependencies. I …
c# asp.net-mvc dependency-injection inversion-of-control unity-container