Geeks With Blogs

News
Daniel Garcia Let's code something up! January 2014 Entries
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

Simulation of mouse and keyboard on third-party applications
Simulation of a key press or key combination, or even a mouse click in your own application is relatively easy: using SendKeys method is enough to our application to receive data from the keyboard, and the proper explicit invocation of the mouse associated event to simulate a mouse-click. However, if we desire to create an application which mission consists to do these operations over a third-party applicatino, we must make use of unmanaged code. Managed and unmanaged code. Managed code is the code ......

Posted On Monday, January 13, 2014 5:10 PM

Copyright © Daniel Garcia | Powered by: GeeksWithBlogs.net