-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Labels
integrationA new .NET Aspire integrationA new .NET Aspire integrationwontfixThis will not be worked onThis will not be worked on
Description
.NET Aspire issue link
Overview
The use of Azure API Management (APIM) is common in many integration scenarios. However, it's not yet natively supported by .NET Aspire. It would be great that we support this APIM integration.
Usage example
In the AppHost project:
var apim = builder.AddAzureApiManagement(
"myapim",
new AzureApiManagementOptions()
{
BaseUrl = "https://my-apim.azure-api.net/api",
SubscriptionKey = "{{this-is-subscription-key}}"
});
builder.AddProject<Projects.My_Aspire_WebApp>("webapp")
.WithReference(apim);In the consuming project:
builder.Services.AddHttpClient<IApimClient, ApimClient>(client
=> client.BaseAddress = new Uri("https+http://apim"));Additional context
- I'd like to get myself assigned. But before that, I'd also like to discuss its feasibility first.
- I'm not sure how OpenTelemetry related data is propagated from one app to the other through APIM.
Help us help you
Yes, I'd like to be assigned to work on this item
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
integrationA new .NET Aspire integrationA new .NET Aspire integrationwontfixThis will not be worked onThis will not be worked on