Reputation: 430
I am working on a shared code base between a client and an ASP.NET Core application.
My problem is that ASP.NET Core uses Microsoft.DI and the client uses Prism.Unity
, which leads to a log of code duplication.
Because of this I am currently looking for a solution to use Prism.Unity
instead of Microsoft DI, in the backend. Is there any solution available, or any reason to not do it?
Prism with ASP.NET which doesn't really helped me. I want to use only Prism.Unity not replacing the whole backend.
https://softwareengineering.stackexchange.com/questions/343887/replace-asp-net-cores-di-container-with-external-container - Sounds good, but it's a little bit old
https://devblogs.microsoft.com/dotnet/dependency-injection-in-asp-net-vnext/ - Sounds good, but it's a little bit old
Upvotes: 0
Views: 35