Skip to content

Support SqlDataSourceEnumerator on Linux #3700

@edwardneal

Description

@edwardneal

Is your feature request related to a problem? Please describe.

SqlClientFactory.Instance.GetDataSources uses Microsoft.Data.Sql.SqlDataSourceEnumerator to get a list of all SQL Server instances which a server's SQL Server Browser service announces on the local network using SQL Server Resolution Protocol.

SqlDataSourceEnumerator does this using the native SNI, but doesn't have any fallback in managed code, which means that Linux clients (and anything using the managed SNI) can't use it.

Describe the solution you'd like

I'd like the managed SNI to support SSRP discovery.

Describe alternatives you've considered

Users could implement their own SSRP client, such as this one.

Additional context

I'm currently working on support for this, I'm just raising the issue so that I don't submit new functionality with 2-3 large PRs out of the blue.

This is slightly different to comments in #17 (which covered making the API surface available, but didn't extend to Linux compatibility.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Up-for-Grabs 🙌Issues that are ready to be picked up for anyone interested. Please self-assign and remove the label

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions