你的位置: 码友网首页 / 资讯源列表 / Automatic factory with Microsoft.Extensions.DependencyInjection and Castle DynamicProxy

关于[Automatic factory with Microsoft.Extensions.DependencyInjection and Castle DynamicProxy]的摘要:

Dependency injection (DI) is a great pattern, which can really help make your code cleaner, more decoupled and more testable. There are many DI libraries, like Autofac, Lamar (StructureMap’s successor), Castle Windsor, etc., but lately I’ve mostly been using the one provided by Microsoft in .NET Core : Microsoft.Extensions.DependencyInjection. It’s not the most full-featured (in fact, it’s pretty bare-bones), but I find it sufficient in most cases.

原文地址: https://thomaslevesque.com/2020/09/27/automatic-factory-with-microsoft-extensions-dependencyinjection-and-castle-dynamicproxy/

收录时间: 2020-09-29 浏览量: 1876 分类: .NET Core

| 0 收藏 | 0