hello-shop/src/HelloShop.AppHost/Program.cs
2024-03-03 11:11:18 +08:00

16 lines
547 B
C#

var builder = DistributedApplication.CreateBuilder(args);
var apiservice = builder.AddProject<Projects.HelloShop_ApiService>("apiservice");
builder.AddProject<Projects.HelloShop_IdentityService>("identityservice");
builder.AddProject<Projects.HelloShop_OrderingService>("orderingservice");
builder.AddProject<Projects.HelloShop_ProductService>("productservice");
builder.AddProject<Projects.HelloShop_BasketService>("basketservice");
builder.AddProject<Projects.HelloShop_WebApp>("webapp").WithReference(apiservice);
builder.Build().Run();