Skip to content

Conversation

@twsouthwick
Copy link
Member

This creates a hidden IncrementalMigration resource that allows for more fluent style syntax that fits in better with standard aspire components rather than an options-style class.

This creates a hidden IncrementalMigration resource that allows for more fluent style syntax that fits in better with standard aspire components rather than an options-style class.
@twsouthwick
Copy link
Member Author

An example of how this would be set up:

var frameworkApp = builder.AddIISExpress("iis")
    .AddSiteProject<Projects.AuthRemoteFormsAuthFramework>("framework")
    .WithDefaultIISExpressEndpoints()
    .WithOtlpExporter()
    .WithHttpHealthCheck();

var coreApp = builder.AddProject<Projects.AuthRemoteFormsAuthCore>("core")
    .WithHttpHealthCheck()
    .WaitFor(frameworkApp);

var incremental = builder.AddIncrementalMigrationFallback(coreApp, frameworkApp)
    .WithAuthentication(RemoteAuthentication.DefaultScheme);

builder.Build().Run();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants