Aspire.Hosting.Dotnet
Official
📦 Aspire.Hosting.Dotnetv17.0.05Functions
2Types
2 types and 0 members
Types
Functions
method
addDotnetProjectbuilderAdds a .NET application resource.
addDotnetProject(name: string, path: string, options?: DotnetProjectOptions): DotnetProjectResourcemethod
disableForwardedHeadersbuilderDisables automatic forwarded-header configuration when publishing the .NET project.
disableForwardedHeaders(): DotnetProjectResourcemethod
withBuildEnvironmentbuilderAdds an environment variable to the build process for a .NET project.
withBuildEnvironment(name: string, value: string): DotnetProjectResourcemethod
withEndpointsInEnvironmentbuilderConfigures endpoint environment-variable injection for a .NET project in polyglot AppHosts.
withEndpointsInEnvironment(endpointNames: string[]): DotnetProjectResourcemethod
withReplicasbuilderConfigures the number of replicas of the .NET project.
withReplicas(replicas: number): DotnetProjectResource