amiry jd
amiry jd

Reputation: 27605

Repository Pattern in ASP.NET MVC 3 and Entity Framework code-first via StructureMap

I'm creating a web app using ASP.NET MVC 3 and Entity Framework 4.1 code-first. I'm designing the project via Repository Design Pattern. I know how to implement RDP and Generic RDP. But my question is that using StructureMap is a good idea on this case? Thanks to any idea and help.

Upvotes: 0

Views: 507

Answers (1)

Iridio
Iridio

Reputation: 9271

Well yes, but structuremap is more related, imo, to the DI approach you will use than the Domain specific approach you will implement. I personally use AutoFac, but Structuremap is a also very good, you may want to consider also Ninject. All of them are really powerful and have a nice syntax to work with imo.

Upvotes: 1

Related Questions