Skip to content
Docs Try Aspire
Docs Try

withExternalHttpEndpoints

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

Signature

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

Applies to

This method applies to the following types: