File: Program.cs
Web Access
Project: src\playground\signalr\SignalR.AppHost\SignalR.AppHost.csproj (SignalR.AppHost)
var builder = DistributedApplication.CreateBuilder(args);
 
var signalr = builder.AddAzureSignalR("signalr1");
 
builder.AddProject<Projects.SignalRWeb>("webfrontend")
    .WithExternalHttpEndpoints()
    .WithReference(signalr);
 
builder.Build().Run();