CSHARP-3470Backlog

Implement ASP.NET Core service collection extension method for client registration

ASP.NET Core DI functions via {{IServiceCollection}} dependency registration. While {{MongoClient}} can be registered with a general approach, like: There's a trend among prominent dotnet libraries in providing specialized extension methods for dependency registration, like: This could be achieved by creating a separate nuget package (e.g. {{MongoDB.Extensions.DependencyInjection}}) with an extension implementation. The basic one is: The major rational for this improvement is directin

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
4.0.0
Components
Server components related to this issue
Configuration
Labels
Tags and classification
FY22Q2FY26Q3FY27Q1