# 48 - Contextual binding with StructureMap


9/24/2008
Level: Advanced
Tags: IoC StructureMap
Comments: (4)
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: (4)

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

Online Slots said....

I imported a theme from someone but it doesn't work on T4 files. Probably should have looked into which settings applied but alas...I don't opine that each student in the world has got a passion of research essay writing! However, people ,which do not know how to write should utilize help of experienced online service


3/4/2010 2:17:21 AM

Online Slots said....

I imported a theme from someone but it doesn't work on T4 files. Probably should have looked into which settings applied but alas...I don't opine that each student in the world has got a passion of research essay writing! However, people ,which do not know how to write should utilize help of experienced online service...Great to see your informative and useful information...


3/4/2010 2:19:37 AM



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



So, you Human...?