withEndpointsInEnvironment

Method
📦 Aspire.Hosting.Dotnet v17.0.0
interface DotnetProjectResource {
// ... omitted for brevity
withEndpointsInEnvironment(endpointNames: string[]): DotnetProjectResource;
}

Signature

methodwithEndpointsInEnvironmentbuilder
Configures endpoint environment-variable injection for a .NET project in polyglot AppHosts.
withEndpointsInEnvironment(endpointNames: string[]): DotnetProjectResource
endpointNamesstring[]
DotnetProjectResource

Applies to

This method applies to the following types: