开发者

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

开发者 https://www.devze.com 2023-01-10 06:35 出处:网络
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:

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

精彩评论

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