Share via


ProjectResourceBuilderExtensions Class

Definition

Provides extension methods for IDistributedApplicationBuilder to add and configure project resources.

public static class ProjectResourceBuilderExtensions
type ProjectResourceBuilderExtensions = class
Public Module ProjectResourceBuilderExtensions
Inheritance
ProjectResourceBuilderExtensions

Methods

AddProject(IDistributedApplicationBuilder, String, String)

Adds a .NET project to the application model.

AddProject(IDistributedApplicationBuilder, String, String, String)

Adds a .NET project to the application model.

AddProject<TProject>(IDistributedApplicationBuilder, String)

Adds a .NET project to the application model.

AddProject<TProject>(IDistributedApplicationBuilder, String, String)

Adds a .NET project to the application model. By default, this will exist in a Projects namespace. e.g. Projects.MyProject. If the project is not in a Projects namespace, make sure a project reference is added from the AppHost project to the target project.

DisableForwardedHeaders(IResourceBuilder<ProjectResource>)

Configures the project to disable forwarded headers when being published.

WithReplicas(IResourceBuilder<ProjectResource>, Int32)

Configures how many replicas of the project should be created for the project.

Applies to