|
|
In The Brain of Gojko Adzic & Mike Hadlow: Dependency Injection with Castle Windsor
Dependency Injection with Castle Windsor
Castle Windsor is the most popular opensource dependency injection framework for .NET and the foundation of the Castle Application Framework. In this session, Mike Hadlow and Gojko Adzic introduce depenency injection principles, show how to implement them with Castle Windsor, and talk about extending Windsor functionality with custom facilities.
This session is aimed at .NET developers at all levels.
Review:
Castle\\\\\\\'s Windsor Container for Inversion of Control (IoC) and Dependency Injection (DI) is a popular open source .NET project. Mike Hadlow and Gojko Adzic briefly talk about IC and provide live examples of using Windsor for this purpose. Packaging issues and some pitfalls are also among the subjects of the talk.
Inversion of control is a style of designing reusable components and decoupling services. In this style, specialised services are represented by interfaces. Each component declares services it provides and services it requires. No component dictates its behaviour to others. An IoC container automatically resolves dependencies. All services are registered in it and it is transparent. The examples demonstrate applications of design patterns.
Gojko Adzic’s talk focuses on deployment and how to use the tool in real-world production. Capabilities of the container can be extended by adding facilities. Facilities display information about what is happening in the container, like what is being added to it and what objects are being created. This makes it possible to inject behaviour into the lifecycle of objects originating from the container. The live demo is a simple chat server and effects of editing its configuration file are demonstrated.
Source code of the Suteki Shop demo can be accessed here.
Review by Eren Aykin
Download the slides here
ABOUT GOJKO ADZIC
|
Gojko is the author of over 200 articles on programming, operating systems, Internet & new technologies. He has recently published his latest...
More about Gojko Adzic
|
ABOUT MIKE HADLOW
|
Mike Hadlow is a freelance programmer based in Brighton, specialising in enterprise application development with Microsoft tools. Mike is the author of several open source projects including WsdlWorks, a web service test tool and Suteki Shop, an MVC
More about Mike Hadlow
|
|
PODCAST DEPENDENCY INJECTION WITH CASTLE WINDSOR
|
|
|
OPEN SOURCE .NET PODCASTS
|
OTHER OPEN SOURCE .NET EVENTS
|
Adv Distributed Design w SOA
5 DAY COURSE. Featuring Udi Dahan London, Monday, February 15th
|
|
London .NET User Group
FREE EVENT:
Command Query Responsibility S
London, Monday, February 15th
|
|
Progressive .NET Course
3 DAY COURSE. Paris, Wednesday, February 17th
|
|
Agile Castle Web Development
2 DAY COURSE. Paris, Tuesday, February 23rd
|
|
Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien London, Wednesday, February 24th
|
|
Lessons learned from building the NHibernate Profiler
FREE EVENT:
In The Brain of Oren Eini aka Ayende Rahien
London, Wednesday, February 24th
|
|
Advanced Castle Web Development
2 DAY COURSE. Paris, Thursday, February 25th
|
|
Adv Distributed Design w SOA
5 DAY COURSE. Paris, Monday, March 1st
|
|
|
|