# 135 - Exploring StructureMap: Learning how to setup profiles


8/13/2009
Level: Intermediate
Tags: IoC StructureMap
Comments: (19)
Author:
Derik Whittaker
 
Presented By:
Red-Gate.com


In this episode we are going to continue our series were we are exploring some of the features of StructureMap 2.5.

In this episode we are going to take a look at how to setup profiles to allow the container to dynamicly determine which objects to inject.

--- Sponsor Information ---
ANTS Memory Profiler 5 out now. It’s a must have in your toolbox if you program in C# or VB.NET.
Download your free trial of ANTS Memory Profiler here.
Click here to Watch this Episode

Download (10.47 MB) (8:29) (1440x900)
Download (7.38 MB) (8:29) (960x600)

Links/Resources:


Comments: (19)

Valdimar Thor said....

If you're running out of ideas with webcasts, you could do more on software patterns :)


9/1/2009 3:45:00 AM

shem said....

This is very interesting, i will learn how to setup my profiles. I hope you will teach us more.

<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518005">Antioch Ca Homes For Sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518047">Hayward Ca Homes For Sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518034">Concord Ca Homes For Sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518011">Oakland Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2517991">Alameda Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2522238">Mountain View Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2530671">Pleasanton Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2531041">Stockton Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2532994">San Ramon Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2533056">Palo Alto Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534379">Merced Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534385">Modesto Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534393">Elk Grove Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534399">Daly City Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539568">Redwood City Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579">Roseville Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594">Sacramento Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539602">Salinas Ca Homes For sale</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518005">Antioch Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518047">Hayward Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518034">Concord Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2518011">Oakland Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2517991">Alameda Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2522238">Mountain View Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2530671">Pleasanton Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2531041">Stockton Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2532994">San Ramon Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2533056">Palo Alto Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534379">Merced Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534385">Modesto Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534393">Elk Grove Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534399">Daly City Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539568">Redwood City Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579">Roseville Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594">Sacramento Ca Foreclosures</a> | <a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539602">Salinas Ca Foreclosures</a> |


2/15/2010 4:15:00 PM

lino said....

this is such an intresting blog,

[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2534393[a]Elk Grove Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539568[a]Redwood City Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579[a]Roseville Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539602[a]Salinas Ca Homes For sale|[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539617[a]San Mateo Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539624[a]Santa Clara Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539639[a]Santa Rosa Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539646[a]Sunnyvale Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2542328[a]Napa Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2543767[a]Walnut Creek Ca Homes For sale[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2534393[a]Elk Grove Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2534399[a]Daly City Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539568[a]Redwood City Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579[a]Roseville Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579[a]Roseville Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594[a]Sacramento Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594[a]Sacramento Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594[a]Sacramento Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539602[a]Salinas Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539617[a]San Mateo Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539624[a]Santa Clara Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539639[a]Santa Rosa Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2539646[a]Sunnyvale Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2542328[a]Napa Ca Foreclosures[/a]
[a/]http://www.goarticles.com/cgi-bin/showa.cgi?C=2543767[a]Walnut Creek Ca Foreclosures[/a]

<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534393">Elk Grove Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539568">Redwood City Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579">Roseville Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539602">Salinas Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539617">San Mateo Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539624">Santa Clara Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539639">Santa Rosa Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539646">Sunnyvale Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2542328">Napa Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2543767">Walnut Creek Ca Homes For sale|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534393">Elk Grove Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2534399">Daly City Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539568">Redwood City Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579">Roseville Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539579">Roseville Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594">Sacramento Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594">Sacramento Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539594">Sacramento Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539602">Salinas Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539617">San Mateo Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539624">Santa Clara Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539639">Santa Rosa Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2539646">Sunnyvale Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2542328">Napa Ca Foreclosures|</a>
<a href="http://www.goarticles.com/cgi-bin/showa.cgi?C=2543767">Walnut Creek Ca Foreclosures|</a>
 


2/15/2010 5:56:46 PM

replica rolex said....

He might not go this week, but he's further proof sea dweller that being sea dweller adorable can get you into the semifinals but rolex submariner not much rolex submariner further. Urban is the weakest male link, so he might as well blast submariner off with a submariner submariner blaze of glory with something rolex yachtmaster ridiculous like rolex yachtmaster And I Am Telling You I'm Not yachtmaster Going.


3/12/2010 5:40:21 PM

rolex -submariner said....

With yachtmaster rolex yacht master Jermaine Sellers rolex yacht master gone, dancer Hall remains as the loose cannon in the yacht master bunch. His yacht master confidence hasn't yet meshed with a breakout performance, and replica watches though his replica watches sedate take on Tina Turner's What's Love Got to Do With replica watch It was replica watch interesting, Hall has been the fake watches judges' punching fake watches bag to date.


3/12/2010 5:42:17 PM

rolex yacht master said....

Unless he kills it, say with a seductive Usher throw-down, Hall could be rolex the next to rolex go. Speaking of cute, James is still trying to shake off the whole rolex watch cougar-bait rolex watch thing, but his limp rendition of the too-frequent Idol cover I Don't Want to Be didn't rolex watches exactly show rolex watches off his rock chops. Regardless, assuming he doesn't completely tank, Casey replica rolex will likely make the top 12. He should, however, soar by proving replica rolex his grit this week with something edgier. How about an unplugged rolex replica Kid Rock tune? He's the rolex replica token rocker, which is a good place to be this year, because he's got virtually no competition.


3/12/2010 5:44:42 PM

armani watches said....

Dewyze is on a hot streak, and he's got Simon tissot on his tissot side, so he should play it safe this armani watch week to ensure armani watch a top 12 berth. He's done well playing his acoustic armani watches guitar, so armani watches maybe a Kings of Leon song would work for him. What armani happened armani to you, man? Garcia seemed a shoo-in for audemars piguet watch the top audemars piguet watch three.


3/12/2010 7:15:46 PM

lv watches said....

But he's gotten steadily diminishing returns thanks audemars piguet watches to sleepy audemars piguet watches song choices, like James Morrison's You Give Me Something, which audemars piguet find him audemars piguet fading into the pack. He needs another Straight Up, pronto! Now's lv watch the best lv watch time to wow the judges again with a clever arrangement lv watches of a classic lv watches — perhaps a folky version of Jane's Addiction's Been lv Caught lv Stealing?


3/12/2010 7:27:02 PM

parmigiani watches said....

He's not blowing anyone away, but movado watch slow-and-steady movado watch Lynche is getting it done every week. He's likeable, solid and very comfortable onstage. Big movado watches Mike is almost movado watches certainly going to advance, so a bit more of what the movado judges already movado like, perhaps a touch of Maxwell on parmigiani watch acoustic guitar, could parmigiani watch ensure his spot. Either Lambert is pulling a rope-a-dope and is planning to emerge parmigiani watches as a camera-ready parmigiani watches superstar from his mullet-duckling persona, or we're reading too much into his phoenix-like rise from the ashes of two twitchy weeks ago


3/12/2010 7:34:32 PM

corsets bustiers said....

cute and fashion <a href="http://www.yo2underwear.com/corsets-bustiers-c-1.html">cheap corsets bustiers</a> are really cheap now,i buy many pics for myself and also send my friends,they are really love these <a href="http://www.yo2underwear.com">sexy lingerie</a>.


3/13/2010 11:01:00 PM

replica armani said....

Hurley waking up in the field of flowers reminded me of replica alain silberstein watch the poppy replica alain silberstein watch sequence in The Wizard of Oz. Jack wanting to get moving replica alain silberstein watches toward whatever replica alain silberstein watches destiny awaited him while Hurley wanting to eat replica alain silberstein first—reminders replica alain silberstein that Hurley is gripped by hunger when he’s anxious and Jack armani replica defers food armani replica until his deeper yearnings are sated. They then fought replica armani watch over the replica armani watch right path back to The Temple.


3/14/2010 7:04:12 PM

replica baume mercier said....

Hurley was either going to take the long way replica armani watches or the replica armani watches wrong way, while Jack wanted to go directly back the replica armani way they replica armani came. It was hard to hear the line and not think Lost was audemars piguet replica saying audemars piguet replica something about its two-track, parallel world replica audemars piguet watch structure. Then replica audemars piguet watc Richard showed up and offered a third path. Jack followed. When replica audemars piguet watches Hurley asked replica audemars piguet watches if Richard could be trusted.


3/14/2010 7:05:25 PM

replica alain silberstein said....

Jack said, At least he’s not stallin’. It was another wink at replica audemars piguet the audience replica audemars piguet in an episode full of them. Combined with the line about Napoleon’s Elba being baume mercier replica the place baume mercier replica where everything became clear, I wondered if Lost was addressing replica baume mercier watch anyone griping replica baume mercier watch about the pace of answers and saying, Don’t worry. Trust us. Okay? Ironically, replica baume mercier watches then replica baume mercier watches. He seemed to strongly replica baume mercier imply that replica baume mercier yes indeedy.


3/14/2010 7:06:54 PM

box watches said....

Richard’s replica baume mercier watches path ended parmigiani with… a parmigiani lie. He took them to the Black Rock, which was not where box watch he said was box watch taking them, although it was where we’ve been wanting Alpert to go for a couple box watches years now box watches as we’ve wondered if the ageless Others came to The Island via the box slave box ship. Another reading of Richard’s third way as a metaphor for bell ross watch Lost’s bell ross watch storytelling.


3/14/2010 8:14:45 PM

baume mercier said....

We won’t lead you astray, but we’re not going the way you bell ross expect.We’ll bell ross be doing this answer thing our way. Richard stormed into swiss rolex watch the bowels swiss rolex watch of the Black Rock and into its proverbial hurt locker—the place swiss rolex watches where military swiss rolex watches folk keep their explosives. The term hurt locker also swiss rolex refers to any swiss rolex place or situation where the soldier feels fundamentally unsafe. Both baume mercier watch terms applied to baume mercier watch Richard.


3/14/2010 8:22:43 PM

breguet watches said....

He was profoundly betrayed by Jacob’s baume mercier watches death, scared baume mercier watches out of his eyelashes by Smokey, and just a massive baume mercier existential mess baume mercier in general. He wanted out—and by out, I mean he wanted breguet watch Jack to blow breguet watch him up with dynamite because he breguet watches couldn’t do breguet watches the deed himself. He explained as breguet he stripped bregue some fuse.


3/14/2010 8:32:06 PM

replica breitling said....

He nailed John Legend's superocean heritage chronographe Everybody Knows superocean heritage chronographe last week, and a command replica watches performance replica watches of a Robin Thicke tune might cement his blue-eyed replica watch soul bona replica watch fides. All day long, I’ve been getting curious emails fake watches and tweets fake watches from readers of our weekly Lost recaps blasting me with breitling Black Rock breitling dynamite for not discussing a pretty monumental moment in last night’s episode.


3/15/2010 1:47:31 AM

replica breitling said....

Jack and Richard’s discussion of breitling watch Jacob’s magical breitling watch touching and supernatural gifts in the dark belly of the breitling watches Black Rock breitling watches slave ship. Honestly, I ignored the first few replica breitling dozen of replica breitling these emails. Whaddya mean? I wrote 1500 words breitling replica about all breitling replica this! But after getting replica breitling watches another raft replica breitling watches of critical emails.


3/15/2010 1:52:56 AM

replica breitling said....

I checked out the recap and made a discovery a lange sohne replica that made a lange sohne replica me want to blow my own bad replica a lange sohne watch self up: Somehow replica a lange sohne watch, my Black Rock analysis if you can call what I do analysis replica a lange sohne watches wasn’t there replica a lange sohne watches! I apologize and blame myself. I write and submit various drafts of the recap replica a lange sohne during the night, and replica a lange sohne amid the confusion I create, this section slipped alain silberstein replica through the alain silberstein replica cracks.


3/15/2010 1:58:58 AM


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



So, you Human...?