Skip to content
DocsTry Aspire
DocsTry

withExternalHttpEndpoints

Method
📦 Aspire.Hosting v13.4.0
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: