Jeremy D. Miller -- The Shade Tree Developer

Sponsors

The Lounge

Wicked Cool Jobs

Syndication

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
I'm "code complete" on StructureMap 2.0! Release to follow.

The real release will be over the weekend, but I'm calling myself "code complete" for now on StructureMap development for the long delayed 2.0 release.  If you're curious, the bits are in SVN at https://svn.sourceforge.net/svnroot/structuremap/trunk.  I'll make a much longer set of release notes later, but at a high level:

  • Fullblown support for Generics including "auto-wiring"
  • Ease of use
  • Much, much more flexible configuration options
  • Make composite applications and configuration merging easier
  • New Fluent Interface API for programmatic configuration and component wiring (it turned out much differently than the previous blog post though)
  • DRY'ed out and streamlined Xml configuration.  Express the same configuration with much less xml
  • Plugin ASP.net UserControl's (it's in the Trunk Jeffrey, but it's strictly programmatic at the moment)
  • Use the Prototype pattern
  • Bug fixes of course
  • Little bit better runtime diagnostics

I'll post several tutorials on the blog post for both the new features and some old features that are probably overlooked.  I occasionally get asked the advantage of StructureMap compared to the other tools, so I think I'll finally get around to that one. 

Before the release, I still have to:

  • Update the Xml comments for public API's
  • Update the schema documentation
  • Fix a build script problem
  • Wrestle with SourceForge.  I'm debating with myself whether or not I want to move StructureMap to somewhere else in the long term.  I think Tigris is a lot easier to use, so that's a possibility.

 

 

 

I did get a last minute feature request for better Setter injection support that I'll try to pick up very shortly.

 

 

And thanks to Ayende for a tip on Generics support - just the comment was enough actually.  The basic support wasn't that bad, but it played havoc with the diagnostic code.


Posted Fri, Mar 30 2007 9:11 AM by Jeremy D. Miller
Filed under:

[Advertisement]

Comments

Ayende Rahien wrote re: I'm "code complete" on StructureMap 2.0! Release to follow.
on Fri, Mar 30 2007 10:16 AM

Can you define what you mean by:

Fullblown support for Generics including "auto-wiring"

When I read this statement, I think:

Register(IRepository<T>, NHiberanteRepository<T>)

Get<IRepository<Blog>>();

Jeremy D. Miller wrote re: I'm "code complete" on StructureMap 2.0! Release to follow.
on Fri, Mar 30 2007 10:57 AM

Ayende,

Exactly what you describe, but with arbitrarily different syntax.  And down and down as well.

Repository<T>(IDataService<T>) works n-deep now.  The internal InstanceFactory & InstanceBuilderobjects are built upfront for the templated IRepository<> type, and built on the first demand for IRepository<SomeDomainObject> .

Repository<T, U> is fine, but I hit a limitation on Repository<T, U, V> and started getting exceptions deep from mscorlib and gave up.

Jens Winter wrote re: I'm "code complete" on StructureMap 2.0! Release to follow.
on Fri, Mar 30 2007 1:20 PM

Did you consider using Codeplex.com for hosting StructureMap?

Jeremy D. Miller wrote re: I'm "code complete" on StructureMap 2.0! Release to follow.
on Fri, Mar 30 2007 1:51 PM

I knew someone would ask, and the answer is no.  Nothing against CodePlex, I just don't want to have to wrestle with TFS.  I'd rather stay with SVN.  If I move I'll either go to Tigris or try Google Code.

I'm happy to hear suggestions.  If anybody is actually using Codeplex, how is that working out?

Sam Gentile's Blog wrote New and Notable 154
on Tue, Dec 2 2008 2:00 PM

Sitting here on Saturday morning with a nice cup of Kona coffee. There just is no better coffee in the world. Strong but deceivingly smooth. I really miss our former annual trips to the Big Island that we used to take with my Father-In-Law and family

Sam Gentile's Blog wrote New and Notable 154
on Wed, Dec 3 2008 9:58 AM

Sitting here on Saturday morning with a nice cup of Kona coffee. There just is no better coffee in the world. Strong but deceivingly smooth. I really miss our former annual trips to the Big Island that we used to take with my Father-In-Law and family

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Devlicio.us