|
|
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 has helped numerous teams implement best specification-by-example practices, written two books on the subject and contributed to several open source projects. He frequently speaks at leading industry conferences.
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
|
|
|
PROGRESSIVE .NET PODCASTS
|
OTHER PROGRESSIVE .NET EVENTS
|
Uncle Bob's Advanced Test Driven Development in NY
3 DAY COURSE. Featuring Uncle Bob (Robert C. Martin) New York, Tuesday, May 29th
|
|
Progressive .NET Tutorials 2012
CONFERENCE (3 DAYS)
London, Tuesday, May 29th
BOOK NOW!
|
|
2012 Progressive F# Tutorials NYC
CONFERENCE (2 DAYS)
New York City, Tuesday, June 5th
BOOK NOW!
|
|
Zen and the Art of Software
FREE EVENT:
In The Brain of Mark Rendle
London, Monday, June 11th
|
|
Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger London, Monday, June 18th
|
|
Simon Brown's Enterprise Software Developer
3 DAY COURSE. Featuring Simon Brown London, Monday, June 18th
|
|
QCon New York 2012
CONFERENCE (3 DAYS)
New York, Monday, June 18th
BOOK NOW!
|
|
David Laribee's Leading Lean/Agile Teams
2 DAY COURSE. Featuring David Laribee New York, Thursday, June 21st
|
|
|
|