35 references to WithUrlForEndpoint
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
2349/// To modify the URL for a specific endpoint, use <see cref="WithUrlForEndpoint{T}(IResourceBuilder{T}, string, Action{ResourceUrlAnnotation})"/>. 2552/// To customize the URL that is automatically added for an endpoint, use <see cref="WithUrlForEndpoint{T}(IResourceBuilder{T}, string, Action{ResourceUrlAnnotation})"/>.
Aspire.Hosting.Azure.CosmosDB (2)
AzureCosmosDBExtensions.cs (2)
158.WithUrlForEndpoint(EmulatorHealthEndpointName, u => u.DisplayLocation = UrlDisplayLocation.DetailsOnly); 506.WithUrlForEndpoint(dataExplorerEndpointName, c =>
Aspire.Hosting.Azure.EntraId.Tests (4)
EntraIdProvisioningTests.cs (4)
1167web.WithUrlForEndpoint("https", url => url.Url = "https://web.dev.localhost:7081/swagger?x=1#top"); 1277web.WithUrlForEndpoint("https", url => url.Url = "https://web-hashr.dev.localhost:7081"); 1302web.WithUrlForEndpoint("https", url => url.Url = "https://web.dev.localhost:7081/swagger") 1450web.WithUrlForEndpoint("https", url => url.Url = "/swagger");
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
280.WithUrlForEndpoint(EmulatorHealthEndpointName, u => u.DisplayLocation = UrlDisplayLocation.DetailsOnly);
Aspire.Hosting.Azure.Functions (1)
DurableTask\DurableTaskResourceExtensions.cs (1)
153.WithUrlForEndpoint("dashboard", c =>
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
427.WithUrlForEndpoint(EmulatorHealthEndpointName, u => u.DisplayLocation = UrlDisplayLocation.DetailsOnly);
Aspire.Hosting.Keycloak (1)
KeycloakResourceBuilderExtensions.cs (1)
93.WithUrlForEndpoint(ManagementEndpointName, u => u.DisplayLocation = UrlDisplayLocation.DetailsOnly)
Aspire.Hosting.Qdrant (2)
QdrantBuilderExtensions.cs (2)
95.WithUrlForEndpoint(QdrantServerResource.PrimaryEndpointName, c => 101.WithUrlForEndpoint(QdrantServerResource.HttpEndpointName, c => c.DisplayText = "Qdrant (HTTP)")
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
230.WithUrlForEndpoint(RabbitMQServerResource.ManagementEndpointName, c =>
Aspire.Hosting.Tests (16)
Dcp\DcpExecutorTests.cs (2)
5202.WithUrlForEndpoint("http", url => 5209.WithUrlForEndpoint("http", url =>
Orchestrator\ApplicationOrchestratorTests.cs (7)
67.WithUrlForEndpoint("http", url => url.Url = "https://first.example/app"); 170.WithUrlForEndpoint("http", url => url.Url = "/path?x=1#fragment") 206.WithUrlForEndpoint("http", url => url.Url = "https://custom.example/path?x=1#fragment") 295frontend.WithUrlForEndpoint("http", url => url.Url = customUrl); 346.WithUrlForEndpoint("http", url => url.Url = "https://frontend.example/app") 459.WithUrlForEndpoint("http", url => url.Url = invalidUrl) 461.WithUrlForEndpoint("https", url => url.Url = "https://frontend.example/home");
WithUrlsTests.cs (7)
185.WithUrlForEndpoint("http", url => url.DisplayText = "Manage"); 482.WithUrlForEndpoint("http", u => u.DisplayText = "Custom Display Text") 573.WithUrlForEndpoint("test", u => 605.WithUrlForEndpoint("http", u => u.Url = "https://example.com"); 806.WithUrlForEndpoint("non-existant", u => 923.WithUrlForEndpoint("test", url => 956.WithUrlForEndpoint("http", url =>
TestShop.AppHost (4)
AppHost.cs (4)
93resource.WithUrlForEndpoint("http", u => u.DisplayText = "PG Admin"); 146.WithUrlForEndpoint("https", u => 158.WithUrlForEndpoint("http", u => u.DisplayLocation = UrlDisplayLocation.DetailsOnly) 189.WithUrlForEndpoint("http", url => url.DisplayLocation = UrlDisplayLocation.DetailsOnly)