Shawn Mclean
Shawn Mclean

Reputation: 57469

2010: ASP.NET MVC IoC/DI - Structuremap vs Ninject, etc

This question have been answered in 2008. End of 2010 now. Any changes? which of these IOC/DI frameworks are recommended for a very large project that will be maintained forever?

Features of this project includes:

  1. WCF Web Services.
  2. OData exposer.
  3. Special Views for various mobile devices.
  4. Repository pattern with POCO.
  5. Entity Framework.

Project Structure:

  1. Project Domain (Database, Repository)
  2. Project Services (Logic)
  3. Project Web (Views, Controllers, Service Endpoints, etc)

Upvotes: 3

Views: 1601

Answers (2)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

Personally I use Spring.NET. This framework has much other features than a simple object container that can be used for DI.

Upvotes: 0

Bob Palmer
Bob Palmer

Reputation: 4762

My personal preference is still Ninject. Excellent documentation, easy to use, drop dead simple, and gets the job done. It's our IoC of choice in all of our projects at work, and works a treat.

Side note RE something that will last forever. Wrap your IoC up in a facade so that you can swap it out down the road (we do this with our IoC, ORM, etc. just in case we have to change a few years from now).

Upvotes: 4

Related Questions