Scaffold Aspire starter app
This commit is contained in:
14
PresentPortal.AppHost/Program.cs
Normal file
14
PresentPortal.AppHost/Program.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
var builder = DistributedApplication.CreateBuilder(args);
|
||||
|
||||
var cache = builder.AddRedis("cache");
|
||||
|
||||
var apiService = builder.AddProject<Projects.PresentPortal_ApiService>("apiservice");
|
||||
|
||||
builder.AddProject<Projects.PresentPortal_Web>("webfrontend")
|
||||
.WithExternalHttpEndpoints()
|
||||
.WithReference(cache)
|
||||
.WaitFor(cache)
|
||||
.WithReference(apiService)
|
||||
.WaitFor(apiService);
|
||||
|
||||
builder.Build().Run();
|
||||
Reference in New Issue
Block a user