DotnetProjectResource
A resource that represents an SDK-style .NET project or file-based C# app added by path.
type DotnetProjectResource interface { DotnetProgramResource IComputeResource IContainerFilesDestinationResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}Methods
DisableForwardedHeaders() DotnetProjectResourceReturns
DotnetProjectResource The same builder for chaining additional configuration.
Returns a handle; failures surface later via Err().
WithBuildEnvironment( name string, value string,) DotnetProjectResourceParameters
namestringThe name of the environment variable.valuestringThe value of the environment variable.Returns
DotnetProjectResource A reference to the I for chaining additional configuration.
Returns a handle; failures surface later via Err().
WithEndpointsInEnvironment(endpointNames []string) DotnetProjectResourceParameters
endpointNames []string Returns
DotnetProjectResource Returns a handle; failures surface later via Err().
WithReplicas(replicas float64) DotnetProjectResourceParameters
replicasfloat64The number of replicas.Returns
DotnetProjectResource The same builder for chaining additional configuration.
Returns a handle; failures surface later via Err().