Glenn Block

Sponsors

The Lounge

News

  • View Glenn Block's profile on LinkedIn

    Me

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Container-managed applications

OK, so you've past the point of deciding whether or not you will use an IoC container. Then you find out that is just the beginning of the road. How does that container fit in your application design? Should you pass it around, should you have a static accessor, or should all your components be completely free of any dependency on it's existence? How can you create new components dynamically at run-time? How should you design your system to best take advantage the container without becoming coupled to it? This are questions you need to answer irrespective of which container you choose.

My colleague Nick has started yet another blog series to explore these questions and more. He is sharing his experiences based on his work with IoC containers, including designing Autofac. In his first post he explores the place of the container within the design. If you are using an IoC container or thinking about it, I highly recommend it.

http://blogs.msdn.com/nblumhardt/archive/2008/12/27/container-managed-application-design-prelude-where-does-the-container-belong.aspx


Posted 12-26-2008 5:52 PM by Glenn Block
Filed under: , ,

[Advertisement]

Comments

Jonathan wrote re: Container-managed applications
on 12-27-2008 7:30 AM
You should just invite Nick to CodeBetter. In my opinion all his posts are of sufficient quality.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?