Skip to content
Docs Try Aspire

AzureAppServiceWebSiteResource Constructors

Class Constructors 1 member
Represents an Azure App Service Web Site resource.
Constructor(string, Action<AzureResourceInfrastructure>, IResource) Section titled Constructor(string, Action<AzureResourceInfrastructure>, IResource)
Initializes a new instance of the AzureAppServiceWebSiteResource class.
public class AzureAppServiceWebSiteResource
{
public AzureAppServiceWebSiteResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure,
IResource targetResource)
{
// ...
}
}
name string The name of the resource in the Aspire application model.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure resources.
targetResource IResource The target resource that this Azure Web Site is being created for.