By tag: IOC
0
kicks
Unity Convention Based Registration
Convention based type registration for the Unity IOC container
0
kicks
IoC & Convention over Configuration in an Agile world
James Kovacs (http://www.jameskovacs.com) is highly regarded figure in the .NET consulting community. The video linked in this kick is a great talk on how to simplify your codebase using Convention over Configuration with your IoC container. It also briefly touches on some other topics like testin...
0
kicks
Put an IOC Powered Bootstrapper in your ASP.NET MVC Application
Do you have a fat Global.asax file in your ASP.NET MVC application? Does it contain 1000’s of lines of application start-up code? Want to break it out into separate classes and gain the benefits of decoupling, dependency injection and unit testability? Read on.
0
kicks
Automatic Factories With Unity 2.0
Unity 2.0 comes with new features. But the feature i want to talk about is "Automatic Factory". This feature is useful when one class has a dependency in another but may not need to have the instance of dependency in the constructor. Or, just want to create the dependency in another time.
0
kicks
Reducing Code Coupling - Inversion of Control
This is the conclusion to my series on reducing code coupling. This installment follows from the previous ones, building on them by introducing the Inversion of Control pattern.
0
kicks
Dependency Injection in Asp.net MVC using MVC Contrib - on code
A simple introduction to dependency injection in asp.net MVC
0
kicks
Getting Started With NServiceBus: Part 4 Integrating With StructureMap
A simple walkthrough on how to StructureMap & NServiceBus.
0
kicks
StructureMap and Scanning With Custom Conventions
How I am using convention over configuration with StructureMap on my new project
0
kicks
Exploring StructureMap: Learning how to setup profiles
Taking a look at how to setup profiles to allow the container to dynamicly determine which objects to inject
0
kicks
Exploring StructureMap: Learning how to setup Auto Registration
Looking at the simple use case and how to setup for Auto Registration. Auto Registration is where StructureMap can map your types for you, assuming you follow the standard convention where Foo implementes IFoo.
0
kicks
Making Unity work more like the others
I love MS Unity as an IoC container, it has some great features. Though I found it to function incorrectly at two points (it’s not that the path chosen by the Unity team is incorrect, I just want/excpect it to act differently).
The first thing that bothered me was the fact that Unity throws an ex...
0
kicks
Dependency injection in real world
Most of the blog posts I’ve seen present an ideal “perfect day” situation setup for writing the test which is not always the case in real world.
In this kind of “not-so-perfect” situations, service locator based solution I’ve presented in that blog post allowed me to increase testability and int...