Skip to content

PublishAs pattern #1960

@mitchdenny

Description

@mitchdenny

Azure resources

Other

Code sample:

// Scenario: Use an Azure resource for inner loop
var builder = DA.CreateBuilder(args);
var pg = builder.AddPostgres("mypostgres")
                .PublishAsPostgresFlexibleServer();

The above will run as a container locally and will publish an azure flexible postgres resource to the manifest.

Metadata

Metadata

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions