|
|
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
|
London .NET User Group
FREE EVENT:
Functional and OO Approaches t
London, Wednesday, March 31st
|
|
Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien London, Monday, April 26th
|
|
Introduction into Raven DB
FREE EVENT:
In The Brain of Oren Eini aka Ayende Rahien
London, Wednesday, April 28th
|
|
London F-Sharp User Group
FREE EVENT:
F-Sharp Numerical Optimization
London, Thursday, April 29th
|
|
Robert Pickering's Beginning F# Workshop
2 DAY COURSE. Featuring Robert Pickering London, Monday, May 10th
|
|
Progressive .NET Tutorials
CONFERENCE (3 DAYS)
London, Wednesday, May 12th
BOOK NOW!
|
|
Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien London, Monday, May 17th
|
|
Agile Castle Web Development
2 DAY COURSE. Paris, Tuesday, May 18th
|
|
|
|