C# ASP.NET SQL SERVER

Intro to Dependency Injection and Inversion of Control

From: Desert Code Camp 2008
Speaker: Donn Felker (from Statera)

Notes:

90% of injection is done in the constructor of the class by passing in instances as interfaces. The other 10% is done primarily through a setter property and in rare cases as a param to a method.

IoC = Dependency Inversion Principal. A service locater returns the concrete instances of classes requested. The service locater is a container.

Microsoft.Practices.Unity is a popular Microsoft container and Windsor Castle is the most popular open source container.

Links to containers:

Windsor Castle
Microsoft Unity
Structure Map
Spring

» Similar Posts

  1. Test Driven Development
  2. Desert Code Camp 2008
  3. ASP.NET AJAX Internals

» Trackbacks & Pingbacks

    No trackbacks yet.
Trackback link for this post:
http://guyellisrocks.com/trackback.ashx?id=31

» Comments

    There are no comments. Kick things off by filling out the form below.

» Leave a Comment