|
|
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
|
JAVASCRIPT & HTML5 COURSES
|
JAVASCRIPT & HTML5 PODCASTS
|
OTHER JAVASCRIPT & HTML5 EVENTS
|
Progressive .NET Tutorials 2012
CONFERENCE (3 DAYS)
London, Tuesday, May 29th
BOOK NOW!
|
|
Dutch Mobile Conference
CONFERENCE (3 DAYS)
Amsterdam , Thursday, June 7th
BOOK NOW!
|
|
London Ruby User Group
FREE EVENT:
ElasticSearch
, Monday, June 11th
|
|
Gavin Bell's Social Applications
2 DAY COURSE. Featuring Gavin Bell London, Thursday, June 14th
|
|
QCon New York 2012
CONFERENCE (3 DAYS)
New York, Monday, June 18th
BOOK NOW!
|
|
Typesafe's Fast Track to Play
1 DAY COURSE. London, Friday, June 22nd
|
|
Damjan Vujnovic's Advanced JavaScript Workshop
2 DAY COURSE. Featuring Damjan Vujnovic London, Monday, June 25th
|
|
Find Your Ninja Project
FREE EVENT:
Cool Projects in June
London, Monday, June 25th
|
|
|
|