Skip to content
Docs Try Aspire

withExternalHttpEndpoints

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface ContainerResource {
// ... omitted for brevity
withExternalHttpEndpoints(): IResourceWithEndpoints;
}

Signature

method withExternalHttpEndpoints builder
Makes HTTP endpoints externally accessible
withExternalHttpEndpoints(): IResourceWithEndpoints
IResourceWithEndpoints

Applies to

This function is an extension method on the following types: