Skip to content
DocsTry Aspire
DocsTry

AzureAppServiceWebSiteResource Constructors

ClassConstructors1 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)
{
// ...
}
}
namestringThe name of the resource in the Aspire application model.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure resources.
targetResourceIResourceThe target resource that this Azure Web Site is being created for.