# 48 - Contextual binding with StructureMap


9/24/2008
Level: Advanced
Tags: IoC StructureMap
Comments: (1)
Author:
Derik Whittaker
 
Presented By:
Red-Gate.com


In this episode we will walk you though how to do contextual binding with StructureMap 2.5.

What is Contextual Binding? Contextual Binding is the ability to switch out different concrete implementations of a service (i.e. class) at runtime depending on the context in which they are used.
Click here to Watch this Episode

Download (15.97 MB) (10:11) (1440x900)
Download (10.69 MB) (10:11) (960x600)

Links/Resources:


Comments: (1)

Jim Bonnie said....

Thanks for an awesome resource.

On line 15 in the form1 constructor, the structuremapconfiguration statement ForRequestedType<Consumer> statement, should that be an interface ? Does SM handle this automatically and take the first interface ?

I do not have this installed yet...


11/27/2008 8:04:30 AM


Name: *
Email (not displayed): *
Url:
Comments: *



So, you Human...?



Submit this story to DotNetKicks