Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withExternalHttpEndpoints

Method
📦 Aspire.Hosting v13.5.3
interface ContainerResource {
// ... omitted for brevity
withExternalHttpEndpoints(): IResourceWithEndpoints;
}

Signature

methodwithExternalHttpEndpointsbuilder
Marks existing http or https endpoints on a resource as external.
withExternalHttpEndpoints(): IResourceWithEndpoints
IResourceWithEndpoints

Applies to

This method applies to the following types: