Geeks With Blogs

News
Daniel Garcia Let's code something up! inversion of control
Introduction to Dependency Injection with Unity
After a little introduction to Inversion of Control and Dependency Injection, we'll see how DI containers behave in a real-world application. To do so, we'll talk about Unity, developed by Microsoft and belonging to the Enterprise Library package. Therefore, Unity is a Dependency Injection Framework or DI Container. It can be downloaded from Codeplex or using NuGet from inside of Visual Studio. We'll use this last method in our example. Let's begin creating a new Console Project which will be called, ......

Posted On Thursday, January 23, 2014 4:49 PM

Inversion of Control and Dependency Injection
Inversion of Control and Dependency Injection aren't brand new, but they date back to the late 80s. Anyway, these concepts are quite popular right now due to the close relation which mantains with Frameworks like Spring in Java or Unity in .NET. Inversion of Control The IoC (Inversion of Control) concept was first adopted by Martin Fowler, designer of the MVVM (Model View View-Model) design pattern. Fowler defined the concept on a informal way designating it as Hollywood Principle, which states the ......

Posted On Friday, January 17, 2014 4:45 PM

Copyright © Daniel Garcia | Powered by: GeeksWithBlogs.net