withReplicas

Method
📦 Aspire.Hosting.Dotnet v17.0.0
interface DotnetProjectResource {
// ... omitted for brevity
withReplicas(replicas: number): DotnetProjectResource;
}

Signature

methodwithReplicasbuilder
Configures the number of replicas of the .NET project.
withReplicas(replicas: number): DotnetProjectResource
replicasnumberThe number of replicas.
DotnetProjectResource

Applies to

This method applies to the following types: