Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8147569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:23:49+00:00 2026-06-06T14:23:49+00:00

Why leaving StructureMap? As stated by Jeremy Miller (The guy behind StructureMap): No Silverlight

  • 0

Why leaving StructureMap?

As stated by Jeremy Miller (The guy behind StructureMap): No Silverlight support

Why I need Silverlight support?

I’m starting to write WindowsPhone apps, so looks like I need this.

Purpose of this question?

I love StructureMap. It’s full of features and I’ve been using it for many of my projects. But I have to choose a new one. Which one should I choose?

AutoFac?

Ninject?

Other tools?

What I want from new framework?

Supporting Windows Phone.

Right now I’m registering my singleton dependencies using StructureMap like this:

ObjectFactory.Configure(Function(config)
config.For(Of TPlugin).Singleton.Use(Of TConcrete)())

Or this (for generic types):

ObjectFactory.Configure(Function(config)
config.For(Of GetType(IRepository(Of ))).Use(Of GetType(Repository(Of )))())

Or forwarding types:

ObjectFactory.Configure(Sub(config) config.Forward(Of TResolveBy, TRequested)())

I want to do the same things with syntax near to StructureMap(or a better syntax)

What I want from you?

Do you have any experience with them?

Which one do you prefer?

Which one do you recommend to be used in a Windows Phone App?

Any other suggestions?

Update:

What about life cycle and initializing of the concrete type(using a function instead of just defining the type)?
In StructureMap :

config.For(pluginType).Singleton.Use(concreteType)

or

config.For(Of TPlugin).HybridHttpOrThreadLocalScoped.Use(SomeFunction)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:23:50+00:00Added an answer on June 6, 2026 at 2:23 pm

    I do recommend Ninject. I use it for all my projects mainly because of its auto-binding feature, that allows you to put together interface and its implementation automatically without explicit configuration (like in your samples) – example can be found here.

    And you can still use manual configuration just like in your code samples – check out Ninject documentation for examples.

    It seems to support Silverlight as well, so it should be usable for you.

    EDIT:

    As per StriplingWarrior’s comment, the way auto-binding syntax works has changed in recent version of Ninject – check out this SO question for details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to remove the following script from my page(ASP.NET 3.5), leaving all other
We recently had one of our JVM's crash, leaving behind a core dump file
Hi need a css for the following mock up how to make border leaving
I got the fix but I need the explanation why and leaving this as
I need for users to upload files (mostly images) without leaving the current webpage.
I need to sort a flat file by third column leaving first column intact
I need a regex to remove dots in an number but just leaving the
svn is slow as it is ( leaving the rant out) the last thing
Can I clear browser cache of the page when I'm leaving it. // Clear
how I can call database stored procedure if someone is leaving page? For example,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.