CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Jeremy D. Miller -- The Shade Tree Developer

Under the hood and working with .Net, TDD, Software Design, and Agile Stuff

StructureMap 2.4.9 Preview Release is available

A preview release of StructureMap 2.5 is available now at http://sourceforge.net/projects/structuremap.  The code is completely baked (minus some convenience methods I'm going to throw in), but I'm lagging on the documentation (life has been intruding on my side project time lately).  I'll make the full and official release as soon the documentation is done.  This release marks a large scale re-architecture of StructureMap and has taken it very far from its roots as a simple tool to build objects from an Xml representation.  As such, I'm completely rewriting the documentation and website as well.  I'm hoping to include quite a few samples of usage.

The new functionality in StructureMap 2.5:

* The ability to use StructureMap with ZERO Xml or attributes by default 

* The ability to add services at runtime.  You can now programmatically add an entire Assembly at runtime for modular applications that might not want all services to be loaded at startup.

* An auto mocking container based on Rhino Mocks 3.5.  I was a doubter on the validity of AMC, but I'm sold now that I've used it 

* More sophisticated auto wiring rules

* Supporting NameValueCollection and IDictionary<Key, Value> types

* Far more extensibility

* Interception and post processing hooks for you AOP enthusiasts.  StructureMap will NOT include its own AOP engine, but will allow you to use the runtime AOP technique of your choice.

* More configuration options in both Xml and the Fluent Interface.  Usability tweaks for the Fluent Interface.

* More options for modular configuration (mix and match Xml configuration or Registry's at will) -- which basically had to trigger:

* Completely revamped diagnostics, including the Environment Testing support

* Transparent creation of concrete types that are not explicitly registered

* Create objects with explicit arguments passed to the container

* Use the underlying Container independently of ObjectFactory

* Pluggable auto registration

* StructureMap is now strong named (thanks to Steve Harman)

* Pull configuration from the App.config (thanks to Josh Flanagan)

* Generics fixes (thanks to Derrick Rapp) 

 

 

Anyway, I've got some documentation to go write.... 




Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# June 23, 2008 4:35 PM

2 For Good » Blog Archive » StructureMap 2.4.9 Preview release said:

Pingback from  2 For Good  &raquo; Blog Archive   &raquo; StructureMap 2.4.9 Preview release

# June 23, 2008 11:24 PM

2 For Good » Blog Archive » 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview release said:

Pingback from  2 For Good  &raquo; Blog Archive   &raquo; 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview release

# June 23, 2008 11:40 PM

Reflective Perspective - Chris Alcock » The Morning Brew #121 said:

Pingback from  Reflective Perspective - Chris Alcock  &raquo; The Morning Brew #121

# June 24, 2008 3:06 AM

Davy Brion said:

That's quite a list of changes... doesn't this merit a 3.0 version number? ;)

# June 24, 2008 3:07 AM

Archive » 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview release said:

Pingback from  Archive &raquo; 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview release

# June 24, 2008 3:26 AM

2 For Good » Blog Archive » 2 For Good ?? Blog Archive ?? 2 For Good ?? Blog Archive … said:

Pingback from  2 For Good  &raquo; Blog Archive   &raquo; 2 For Good ?? Blog Archive ?? 2 For Good ?? Blog Archive &#8230;

# June 24, 2008 8:41 AM

2 For Good » Blog Archive » Archive ?? 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview … said:

Pingback from  2 For Good  &raquo; Blog Archive   &raquo; Archive ?? 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview &#8230;

# June 24, 2008 8:41 AM

Mohan Kumar said:

Congrats on the release, Jeremy!

Looking forward to seeing more documentation on the fluent interface wiring (zero-XML configuration)

# June 24, 2008 10:17 AM

ccollie said:

Jeremy,

 just a quick question. im working on a ASP.NET project with tight security restrictions (and i dont control the server). Is it possible to use this in medium trust if i  manually register my services.

ive had to write a sickly ServiceLocator to attempt  keep my dependencies in order.

# June 24, 2008 11:30 AM

Archive » Archive ?? 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview … said:

Pingback from  Archive &raquo; Archive ?? 2 For Good ?? Blog Archive ?? StructureMap 2.4.9 Preview &#8230;

# June 24, 2008 11:55 AM

Archive » 2 For Good ?? Blog Archive ?? 2 For Good ?? Blog Archive … said:

Pingback from  Archive &raquo; 2 For Good ?? Blog Archive ?? 2 For Good ?? Blog Archive &#8230;

# June 24, 2008 11:55 AM

Pingback said:

The international community of Pingbacks acknowledge the fact that once again Jeremy promised to complete documentation for the StructureMap.

# June 24, 2008 4:14 PM

Jeremy D. Miller said:

@Pingback,

LoL!  I'm on it, I swear!

# June 24, 2008 4:37 PM

Joey Chömpff said:

Does somebody have StructureMap running under medium trust? If not are you planning to implement Partial Trust Environment.

tia,

Joey Chömpff

# August 13, 2008 5:59 PM

Joey Chömpff said:

I don't know if you are interested but I've got an patch available  for running StructureMap 2.5.0 (Aug 14, 2008) on medium trust. I've only tested it with "ForRequestedType<INTERFACE>().TheDefaultIsConcreteType<CONCRETETYPE>();"

If you are interested you could contact me at jchomff add gmail dot com

Greetz,

Joey Chömpff

# August 14, 2008 1:35 PM

Jeremy D. Miller said:

@Joey,

I would be very interested in the patch.  You can send it to me at jeremydmiller@yahoo.com and I'll get it in this weekend.

Jeremy

# August 14, 2008 2:15 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Jeremy D. Miller

Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy previously worked as a systems architect building mission critical supply chain software for a Fortune 100 company and learned agile development practices as a .Net consultant at ThoughtWorks, one of the pioneers of agile development. Jeremy is the author of the open source StructureMap (http://structuremap.sourceforge.net) tool for Dependency Injection with .Net and the forthcoming StoryTeller (http://storyteller.tigris.org) tool for supercharged FIT testing in .Net. Jeremy's thoughts on just about everything software related can be found on his weblog "The Shade Tree Developer" at http://codebetter.com/blogs/jeremy.miller, part of the popular CodeBetter site. Jeremy is a Microsoft MVP for C#. Check out Devlicio.us!

Our Sponsors

Free Tech Publications

This Blog

Syndication

News

All opinions expressed here constitute my (Jeremy D. Miller's) personal opinion, and do not necessarily represent the opinion of any other organization or person, including (but not limited to) my fellow employees, my employer, its clients or their agents.

About Me

"Best Of" Compendium

StructureMap (Dependency Injection for .Net)

StoryTeller (Supercharged Fit)

Build your own Cab

TestDriven

MVP