Skip to content
DocsTry Aspire
DocsTry

AzurePublishingContext Constructors

ClassConstructors1 member
Represents a context for publishing Azure bicep templates for a distributed application.
Constructor(string, AzureProvisioningOptions, IServiceProvider, ILogger, IReportingStep)Section titled Constructor(string, AzureProvisioningOptions, IServiceProvider, ILogger, IReportingStep)
Represents a context for publishing Azure bicep templates for a distributed application.
public sealed class AzurePublishingContext
{
public AzurePublishingContext(
string outputPath,
AzureProvisioningOptions provisioningOptions,
IServiceProvider serviceProvider,
ILogger logger,
IReportingStep reportingStep)
{
// ...
}
}
outputPathstring
provisioningOptionsAzureProvisioningOptions
serviceProviderIServiceProvider
loggerILogger
reportingStepIReportingStep
This context facilitates the generation of bicep templates using the provided application model, publisher options, and execution context. It handles resource configuration and ensures that the bicep template is created in the specified output path.