|
|
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
|
ThoughtWorks Quarterly Briefings
FREE EVENT:
Is programming language choice
Manchester, Monday, February 13th
|
|
ThoughtWorks Quarterly Briefings
FREE EVENT:
Is programming language choice
London, Thursday, February 16th
|
|
Udi Dahan's NServiceBus Workshop
4 DAY COURSE. Featuring Andreas Ohlund London, Monday, February 20th
|
|
Putting your events on a diet
FREE EVENT:
In The Brain of Andreas Ohlund
London, Monday, February 20th
|
|
Neo4J User Group
FREE EVENT:
Neo4j in .NET
London, Wednesday, February 22nd
|
|
Ayende Rahien's RavenDB Workshop
2 DAY COURSE. Featuring Itamar Syn-Hershko London, Tuesday, February 28th
|
|
RavenDB indexes explained
FREE EVENT:
In The Brain of Itamar Syn-Hershko
London, Tuesday, February 28th
|
|
Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger London, Monday, March 5th
|
|
|
|