Tag Archives: dependency-injection

What is dependency injection?

[I recently wrote this up for some folks at work, and thought it was worth re-posting here.] Dependency injection is a hot topic these days.  You hear terms like “dependency injection”, “inversion of control”, “IoC container”, “DI container”, etc. a … Continue reading

Posted on by John | Tags: dependency-injection | Leave a comment  

Removing dependencies between controllers and Linq DataContext classes with dependency injection

In ScottGu’s most recent post on ASP.NET MVC, he demonstrates using a partial class for the NorthwindDataContext created by the Linq to Sql designer.  In the partial class he creates some simple wrapper methods for the ProductsController to use when … Continue reading

Posted on by John | Tags: asp-net, dependency-injection, linq, mvc, mvccontrib, mvctoolkit, windsor | Leave a comment