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.
15 lines
496 B
15 lines
496 B
var builder = DistributedApplication.CreateBuilder(args); |
|
|
|
var apiService = builder.AddProject<Projects.Manage_AppHost_ApiService>("apiservice") |
|
.WithHttpHealthCheck("/health"); |
|
|
|
var videoapi = builder.AddProject<Projects.Video_API>("videoapi"); |
|
|
|
builder.AddProject<Projects.Manage_AppHost_Web>("webfrontend") |
|
.WithReference(videoapi) |
|
.WithExternalHttpEndpoints() |
|
.WithHttpHealthCheck("/health") |
|
.WithReference(apiService) |
|
.WaitFor(apiService); |
|
|
|
builder.Build().Run(); |