Unity Container and Support for dotnet Core / netstandard [closed]

六眼飞鱼酱① 提交于 2019-12-01 16:44:50

For net core you can find a nice tutorial about Dependency Injection:

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection or https://blogs.msdn.microsoft.com/webdev/2016/03/28/dependency-injection-in-asp-net-core/

Imho, implementing and using the Microsoft.Extensions.DependencyInjection is much easier, too. (At least for MVC-Web-Applications) you don't need unity anymore.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!