HOME JAVA & JEE OPEN SOURCE .NET WEB & RIA CLOUD & GRID ARCHITECTURE & DDD AGILE PM & SCRUM AGILE TESTING & BDD OS, MOBILE & SERVER  
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
Digg! StumbleUpon
OPEN SOURCE .NET PODCASTS
Colin Howe:Re-writing Java classes in Scala - and making your code lovely, Re-writing Java classes in Scala - and m
Colin Howe : 8th Feb 2010
View Podcast: Re-writing Java classes in Scala - and making your code lovely,
Emma McGrattan:Waking up to the New Economics of IT, Waking up to the New Economics of IT
Emma McGrattan : 15th Dec 2009
View Podcast: Waking up to the New Economics of IT,
Ian Cooper:A real world guide to architecting MVC Applications, A real world guide to architecting MVC A
Ian Cooper : 14th Dec 2009
View Podcast: A real world guide to architecting MVC Applications,
Sadek Drobi:Computation Abstraction, Computation Abstraction
Sadek Drobi : 7th Dec 2009
View Podcast: Computation Abstraction,
Ganesh Sittampalam:Functional Programming for Quantitative Modelling at Credit Suisse, Functional Programming for Quantita...
Ganesh Sittampalam : 7th Dec 2009
View Podcast: Functional Programming for Quantitative Modelling at Credit Suisse,
Anton Schwaighofer:F# and Units-of-measure for Technical Computing, F# and Units-of-measure for Technical Co
Anton Schwaighofer : 7th Dec 2009
View Podcast: F# and Units-of-measure for Technical Computing,
 :Parkbench Panel Discussion, Parkbench Panel Discussion
: 7th Dec 2009
View Podcast: Parkbench Panel Discussion,
Robert Pickering:Using combinators to tackle the HTML rendering problem, Using combinators to tackle the HTML ren
Robert Pickering : 7th Dec 2009
View Podcast: Using combinators to tackle the HTML rendering problem,
Toby  Henderson:An Introduction to Mono , Mono
Toby Henderson : 3rd Dec 2009
Podcast Coming Soon: An Introduction to Mono ,
Udi Dahan:Command Query Responsibility Segregation, Command Query
Udi Dahan : 16th Nov 2009
Podcast Coming Soon: Command Query Responsibility Segregation,
Dylan Beattie :HTML 5 and ASP.NET, HTML 5 and ASP.NET
Dylan Beattie : 2nd Nov 2009
View Podcast: HTML 5 and ASP.NET,
Mike Hadlow:Enterprise Integration with MassTransit, Enterprise Integration with MassTransit
Mike Hadlow : 1st Oct 2009
View Podcast: Enterprise Integration with MassTransit,
Jan Machacek:Web Applications, Web Applications
Jan Machacek : 21st Sep 2009
View Podcast: Web Applications,
Frank Cohen:Open Source Build & Test Workshop, Open Source Build & Test Workshop
Frank Cohen : 14th Sep 2009
View Podcast: Open Source Build & Test Workshop,
Gojko Adzic:Space Based Programming, Space Based Programming
Gojko Adzic : 2nd Sep 2009
View Podcast: Space Based Programming,
OTHER OPEN SOURCE .NET EVENTS
Udi Dahan:Advanced Distributed Systems Design with SOA,  Adv Distributed Design w SOA
5 DAY COURSE. Featuring Udi Dahan
London, Monday, February 15th
London .NET User Group:Command Query Responsibility Segregation, London .NET User Group
FREE EVENT: Command Query Responsibility S
London, Monday, February 15th
:Progressive .NET Course,  Progressive .NET Course
3 DAY COURSE.
Paris, Wednesday, February 17th
:Agile Web Development with the Castle Framework,  Agile Castle Web Development
2 DAY COURSE.
Paris, Tuesday, February 23rd
Oren Eini aka Ayende Rahien:Core NHibernate: Persistence with NHibernate,  Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien
London, Wednesday, February 24th
Oren Eini aka Ayende Rahien Lessons learned from building the NHibernate Profiler,  Lessons learned from building the NHibernate Profiler
FREE EVENT: In The Brain of Oren Eini aka Ayende Rahien
London, Wednesday, February 24th
:Advanced Agile Web Development with Castle Project Framework ,  Advanced Castle Web Development
2 DAY COURSE.
Paris, Thursday, February 25th
:Advanced Distributed Systems Design with SOA,  Adv Distributed Design w SOA
5 DAY COURSE.
Paris, Monday, March 1st
© Copyright 2003-2010, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Community  Community-FR  Apress  1st Teach  Jobs: Sales Executive  Jobs: Student Podcaster  Jobs: - Facilities Sales  jobs - marketing assistant  Save Bletchley Park  Spring Certification