LANCommander/LANCommander.AppHost/AppHost.cs

14 lines
325 B
C#
Raw Permalink Normal View History

2025-08-06 19:37:11 -05:00
using Projects;
var builder = DistributedApplication.CreateBuilder(args);
var server = builder
.AddProject<LANCommander_Server>("Server")
.WithExternalHttpEndpoints();
var launcher = builder
.AddProject<LANCommander_Launcher>("Launcher")
.WithReference(server)
.WaitFor(server);
builder.Build().Run();