20 references to WithRoute
AksDemo.AppHost (2)
AppHost.cs (2)
50
.
WithRoute
("/api", api.GetEndpoint("http"))
58
.
WithRoute
("/admin", api.GetEndpoint("http"));
Aspire.Hosting.Azure.Kubernetes.Tests (1)
AzureKubernetesIngressTests.cs (1)
172
gateway.
WithRoute
("/", api.GetEndpoint("http"));
Aspire.Hosting.Kubernetes (1)
KubernetesGatewayResource.cs (1)
17
/// routes using <see cref="KubernetesGatewayExtensions.
WithRoute
(IResourceBuilder{KubernetesGatewayResource}, string, EndpointReference, GatewayPathMatchType)"/>.
Aspire.Hosting.Kubernetes.Tests (14)
CertManagerTests.cs (1)
478
.
WithRoute
("/", api.GetEndpoint("http"))
KubernetesGatewayTests.cs (11)
28
gateway.
WithRoute
("/api", api.GetEndpoint("http"));
101
gateway.
WithRoute
("/api", api.GetEndpoint("http"));
131
gateway.
WithRoute
("/api", api.GetEndpoint("http"));
162
gateway.
WithRoute
("/", api.GetEndpoint("http"));
189
gateway.
WithRoute
("/", api.GetEndpoint("http"));
405
gateway.
WithRoute
("no-leading-slash", api.GetEndpoint("http")));
457
.
WithRoute
("/", api.GetEndpoint("http"))
506
.
WithRoute
("/", api.GetEndpoint("http"))
543
gateway.
WithRoute
("/api", api.GetEndpoint("http"));
590
gateway.
WithRoute
("/api", api.GetEndpoint("http"));
622
gateway.
WithRoute
("/api", api.GetEndpoint("http"));
KubernetesPublisherTests.cs (2)
233
.WithHostname("public.example").WithHostname("alias.example").
WithRoute
("/app", endpoint);
1602
gateway.
WithRoute
("/api", api.GetEndpoint("http"));
CertManagerDemo.AppHost (2)
AppHost.cs (2)
57
.
WithRoute
("/api", api.GetEndpoint("http"))
64
.
WithRoute
("/admin", api.GetEndpoint("http"));