Quantcast
Channel: Prowareness Developer's Blog » Unity
Browsing latest articles
Browse All 6 View Live

Creating an Automocking container for Moq using Unity

Auto mocking allows you to get object of the type you want to test without setting up mocks by hand. Using an auto mocker you can create the mock classes with dependencies and the container will...

View Article



IoC – Unity as a DI and Service Locator container

Inversion of control (IoC) is an abstract principle describing an aspect of some software architecture designs in which the flow of control of a system is inverted in comparison to procedural...

View Article

ASP.NET dependency injection using Unity Application Block

ASP.NET was not designed with the concepts of DI and IoC in mind. That makes it very difficult to actually configure a website/ application using ASP.NET to use the concepts of IoC and resolve the...

View Article

Using Unity to Resolve Instances based on a condition

Unity is a lightweight, extensible dependency injection container with support for nested containers that stores registrations and mappings between types and can instantiate the appropriate concrete...

View Article

Aspect Oriented Programming and Interceptor pattern – Creating a Session...

Interceptor pattern can be used for addressing cross cutting concerns in the application that happens at either the beginning or end of a method. For e.g. checking the validity of the input parameters...

View Article


Dependency injection – Auto registration in Unity

Unity Auto Registration extends Unity IoC container and provides fluent syntax to configure rules for automatic type registration. You can add Unity Auto Registration package using NuGet package...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images