开发者

For a simple web application, what service locator library you prefer to use?

For a simple application that use asp.net mvc 3 and .net-4, what service loca开发者_运维知识库tor application is preferred, with performance concern in mind?


See these questions:

  • IOC container working with asp.net mvc 2.0
  • Good IOC Frameworks to use with asp.net mvc?
  • ASP.NET MVC + fluent nNibernate, what IoC tool?

About performance, none of the main IoC containers have performance issues in a web application.


I would take a look at MEF as it's included on .NET 4.0 and there are several implementations of modularity on MVC using it.


You don't need ServiceLocator for a simple application. It just works out of the box. Like in previous versions of ASP.NET MVC.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜