-
RSS
About me
-
Recent Posts
Advertisement
Tags
Follow me on Twitter
- OH at work: "I couldn't get it working in the test environment, but it worked when i deployed to production." Um.... 2 days ago
- Funniest thing I've seen a long time: https://t.co/eT8sLJUg 1 week ago
- Yep, learning is far more valuable than code. RT @37signals: "...best way to improve is to begin again from scratch..." http://t.co/SKQztGhQ 1 week ago
Xbox Live gamertag
What I’m readingArchives
Advertisement
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
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
