Unity container and dotnet Core / netstandard support

So, MS dropped (free) Unity. The future of unity
The github repository looks inactive Unity on GitHub

Does anyone know what is happening with Oneness?
Is there an IOC dependency injection tool for dotNet Core if Unity is a dead end in the dotnet core?

EDIT: Unity news is still awaiting.
Alternatives to search : StructureMap , AutoFac
or our choice, SimpleInjector It is very active on GitHub. There are many downloads daily ~ 1 million from Nuget. And its fast, very well-documented, good API with good extensibility. Microsoft.Extensions.DependencyInjection would be the next choice. We do not have an ASP.NET project, if you do, then be sure to look at MS DI. You can also use MS DI in DotNet Core,
I like SimpleInjector more . The document is good: with over 500 downloads per day and over 1 million overall, Simpleinjector has gone through a critical mass.

+4
source share
1 answer

For a clean kernel, you can find a good tutorial on 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, implementation and use are Microsoft.Extensions.DependencyInjectionmuch simpler. (At least for MVC-Web applications) you no longer need unity.

+3
source

Source: https://habr.com/ru/post/1672010/


All Articles