AkkaNetContrib / Home

Akka.NET public public announcements and rules
8 stars 3 forks source link

Create a DI adapter for Microsoft.Extensions.DependencyInjection #7

Open alexvaluyskiy opened 7 years ago

alexvaluyskiy commented 7 years ago

https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection

modernist commented 7 years ago

I'm not sure if it's feasible to create an adapter for Microsoft.Extensions.DependencyInjection since it does not support child containers: https://github.com/aspnet/DependencyInjection/issues/246

tintoy commented 6 years ago

BTW, just implemented one of these - for the simple case at least, it's pretty easy:

https://gist.github.com/tintoy/37ab414f8fd625258fc82d4094ff6dd3

MikeBairdRocks commented 6 years ago

I say put a repo out there using @tintoy 's gist. I for one am using Microsoft.Extensions.DependencyInjection as my default for all .Net core projects now and it would be nice to see Akka.net support it.

I'll be willing to get the repo going if it would help.

MikeBairdRocks commented 6 years ago

Here is the repo: https://github.com/cecilphillip/Akka.DI.Microsoft I'm not sure what's next but build works and all tests pass.

mika76 commented 4 years ago

Hey @MikeBairdRocks any reason that repo was archived?

MikeBairdRocks commented 4 years ago

Hey @MikeBairdRocks any reason that repo was archived?

It died with this thread. I didn't have the time to maintain it. @cecilphillip has taken it over but has not done anything with it yet.

mika76 commented 4 years ago

Thanks @MikeBairdRocks I'll definitely do that.

@Aaronontheweb I wonder - would this not be a good repo to assimilate into AkkaNetContrib?

cecilphillip commented 4 years ago

Yes, @MikeBairdRocks is correct. I haven't had much time to put into it either to be honest.

mika76 commented 4 years ago

@cecilphillip Is it stable as is? What I mean is, is it pretty much considered done and working? Have you used it in prod at all?