addAzureFunctionsProject

Method
📦 Aspire.Hosting.Azure.Functions v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureFunctionsProject(
name: string,
projectPath: string): AzureFunctionsProjectResource;
}

Signature

methodaddAzureFunctionsProjectbuilder
Adds an Azure Functions project to the distributed application.
addAzureFunctionsProject(
name: string,
projectPath: string): AzureFunctionsProjectResource
namestringThe name to be associated with the Azure Functions project. This name will be used for service discovery when referenced in a dependency.
projectPathstringThe path to the Azure Functions project file.
AzureFunctionsProjectResource

Applies to

This method applies to the following types: