- StructureMap.Dnx
- Autofac.Extensions.DependencyInjection
- DryIoc.AspNetCore.DependencyInjection
- Grace.DependencyInjection.Extensions
- LightInject.Microsoft.DependencyInjection
This is the most common naming scheme in the .NET space; <product>.<extension/adapter>
, but it has two issues:
- It looks like it comes from Microsoft
- Is's a horribly long name
Follows the same convention as above, but has the "relationship" flipped around. This gets rid of the first issue, but it's still really really long.
Follows the LightInject precedent and is also @davidfowl's favorite. It's a bit shorter than the name above.
This follows the Autofac precedent, but has the following issues:
- It sounds like it's an extension to make StructureMap do dependency injection, which it clearly already does just fine.
- It's also a bit long
Follows the Grace precedent, but has same issues as Autofac.
Follows the DryIoc precedent, but has the following issues:
- It implies that it's ASP.NET Core only, which it isn't. This is why the main package is called
Microsoft.Extensions.DependencyInjection
, and notMicrosoft.AspNetCore.DependencyInjection
- It's has the
DependencyInjection
suffix, which in my opinion is redundant - It's also too long
A nice, short name, but suffers from the first point above.
I don't know if it makes sense, but when I see Microsoft in a nuget package name, I think that is maintained by Microsoft.