Closed ghd258 closed 6 years ago
@Chavoshi Would you be interested to help with this one as well?
Hi @ENikS, It's my pleasure to help.
https://github.com/unitycontainer/aspnet-mvc too net core support
@ENikS https://github.com/unitycontainer/aspnet-mvc too net core support Would you be interested to help with this one as well?
@Chavoshi @ENikS When is this a good problem?
Do you want to do it yourself and send a PR?
I tried to do the changes, but really it's not a simple job as DependencyResolver deprecated in ASP.NET Core and we need to implement them as ServiceProvider. I researched on this concept as well but it is not something overnight which we can put them in, as personally still there are a lot of blurry parts for me.
So in conclusion, in my opinion, this change is not a simple conversion and it needs to think more deeply and in addition it might need some infrastructural changes in core as well.
Thank you very much. If this is the case, I will give up using this component.
Hi @ghd258, Please take a look at this package: https://github.com/unitycontainer/microsoft-dependency-injection I believe for .Net Core 2.0, you do not need to use aspnet-webapi and aspnet-mvc packages at all.
My project is aspnet-webapi, the project needs upgrading to.Net Core, but you only support net47, net46 and net45, can.Net Core Support?