Aspire.Hosting.Dotnet
Official
📦 Aspire.Hosting.Dotnetv13.6.0-preview.1.26478.85Functions
2Types
2 types and 0 members
Types
Functions
method
addDotnetProjectbuilderAdds a C# application resource.
addDotnetProject(name: string, path: string, options?: DotnetProjectOptions): DotnetProjectResourcemethod
disableForwardedHeadersbuilderDisables forwarded headers for a .NET project in polyglot AppHosts.
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 .NET project replicas for polyglot AppHosts.
withReplicas(replicas: number): DotnetProjectResource