Skip to content

[FEATURE REQ] Service discovery with Azure services #47255

@erwinkramer

Description

@erwinkramer

Library name

Any

Please describe the feature.

Would be cool if we can leverage Service discovery in .NET with the Azure SDK. This way we can streamline the usage of Azure endpoints.

So for example doing this, where you can set on 3 levels:

services.ConfigureAzureClientDefaults(clients =>
{
    clients.AddServiceDiscovery(); // Turn on service discovery by default for all clients: largest scope
});

services.AddAzureClients(builder =>
{
    builder.AddServiceDiscovery(); // Turn on service discovery by default for all clients: smaller scope
    
    builder.AddBlobServiceClient(serviceUri: new Uri("https://myBlobService")).ConfigureOptions( options =>
    {
        options.AddServiceDiscovery(); // Turn on service discovery by default for all clients: smallest scope
    }
    
    );
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue is related to a non-management packageExtensionsASP.NET Core extensionscustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions