DotnetProjectResource.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

Defined on

This method is defined on the following type: