You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
396 B
13 lines
396 B
|
4 months ago
|
var builder = DistributedApplication.CreateBuilder(args);
|
||
|
|
|
||
|
|
var apiService = builder.AddProject<Projects.Manage_AppHost_ApiService>("apiservice")
|
||
|
|
.WithHttpHealthCheck("/health");
|
||
|
|
|
||
|
|
builder.AddProject<Projects.Manage_AppHost_Web>("webfrontend")
|
||
|
|
.WithExternalHttpEndpoints()
|
||
|
|
.WithHttpHealthCheck("/health")
|
||
|
|
.WithReference(apiService)
|
||
|
|
.WaitFor(apiService);
|
||
|
|
|
||
|
|
builder.Build().Run();
|