Tag Archives: C#

Dependency Injection for Dummies

Tweet Antonio Vidal has translated this post into Spanish: you can find it here. Dependency injection is a very simple concept: if you have an object that interacts with other objects the responsibility of finding a reference to those objects … Continue reading

Posted in .NET, C#, Design and Patterns | Tagged , , , | 2 Comments

Code Snippets for the Dispose Pattern

Continue reading

Posted in .NET, C# | Tagged , , , | Leave a comment

Ninject Mini Tutorial – Part 2

Tweet Go to Part 1   Controlling the Life Cycle of your Objects In the previous post we did not concern ourselves with the lifecycle of the object returned from Ninject kernel. Ninject provides the following 4 built-in lifecycles (scopes): … Continue reading

Posted in .NET, C#, Design and Patterns | Tagged , , , , | 22 Comments