加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

.net 主要 依赖注入 框架 比较

发布时间:2020-12-14 04:32:47 所属栏目:百科 来源:网络整理
导读:edit (not by the author): There is a comprehensive list of IoC frameworks available athttps://github.com/quozd/awesome-dotnet/blob/master/README.md#ioc: Castle Windsor- Castle Windsor is best of breed,mature Inversion of Control container

edit(not by the author): There is a comprehensive list of IoC frameworks available athttps://github.com/quozd/awesome-dotnet/blob/master/README.md#ioc:

  • Castle Windsor- Castle Windsor is best of breed,mature Inversion of Control container available for .NET and Silverlight
  • Unity- Lightweight extensible dependency injection container with support for constructor,property,and method call injection
  • Autofac- An addictive .NET IoC container
  • DryIoc- Simple,fast all fully featured IoC container.
  • Ninject- The ninja of .NET dependency injectors
  • StructureMap- The original IoC/DI Container for .Net
  • Spring.Net- Spring.NET is an open source application framework that makes building enterprise .NET applications easier
  • LightInject- A ultra lightweight IoC container
  • Simple Injector- Simple Injector is an easy-to-use Dependency Injection (DI) library for .NET 4+ that supports Silverlight 4+,Windows Phone 8,Windows 8 including Universal apps and Mono.
  • Microsoft.Extensions.DependencyInjection- The default IoC container for ASP.NET Core applications.
  • Scrutor- Assembly scanning extensions for Microsoft.Extensions.DependencyInjection.
  • VS MEF- Managed Extensibility Framework (MEF) implementation used by Visual Studio.
  • TinyIoC- An easy to use,hassle free,Inversion of Control Container for small projects,libraries and beginners alike.

Original answer follows.

转载自:https://stackoverflow.com/questions/21288/which-net-dependency-injection-frameworks-are-worth-looking-into

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读