ProjectResourceBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for