RCommon-Team/RCommon

Migrate towards IServiceCollection

Closed this issue · 0 comments

Serious consideration should be put into migration all dependency injection registration to the IServiceCollection interface. The community seems to have adopted that pretty heavily. Most DI container providers have to adopt this at some level. It may make sense for RCommon DI to adopt that as well and let the DI providers drive adoption of their specific interface and features separately. RCommon doesn't gain anything from allowing architects to use a consolidated interface for DI registration. Architects don't gain anything from being able to consolidate a DI registration interfaces unless it has the benefit of wide community adoption. Lastly, architects are forced to adopt at least the version of RCommon DI abstraction that has been implemented which may be the biggest reason for inability to adopt.