AzureFunctionsProjectResourceExtensions
Class static net10.0
Extension methods for
AzureFunctionsProjectResource. namespace Aspire.Hosting;
public static class AzureFunctionsProjectResourceExtensions{ // ...}Methods4
Section titled MethodsAddAzureFunctionsProject(IDistributedApplicationBuilder, string)extensionIResourceBuilder<AzureFunctionsProjectResource> Adds an Azure Functions project to the distributed application.
AddAzureFunctionsProject(IDistributedApplicationBuilder, string, string)extensionIResourceBuilder<AzureFunctionsProjectResource> Adds an Azure Functions project to the distributed application.
WithHostStorage(IResourceBuilder<AzureFunctionsProjectResource>, IResourceBuilder<AzureStorageResource>)extensionIResourceBuilder<AzureFunctionsProjectResource> Configures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
WithReference(IResourceBuilder<AzureFunctionsProjectResource>, IResourceBuilder<TSource>, string?)extensionIResourceBuilder<AzureFunctionsProjectResource> Injects Azure Functions specific connection information into the environment variables of the Azure Functions project resource.