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

前端之家收集整理的这篇文章主要介绍了.net 主要 依赖注入 框架 比较前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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

猜你在找的设计模式相关文章