10 references to AddHub
Aspire.Hosting.Azure.Tests (9)
AzureWebPubSubExtensionsTests.cs (9)
21var ex = Assert.Throws<ArgumentException>(() => wps.AddHub("a_b_c")); 35var hub = wps.AddHub(hubName); 49wps.AddHub("abc"); 124wps.AddHub(hubName); 198wps.AddHub("abc").AddEventHandler($"{serviceA.GetEndpoint("https")}/eventhandler/"); 285wps.AddHub("ABC").AddEventHandler($"http://fake1.com"); 287wps.AddHub("abc"); 367wps.AddHub("hub1") 370wps.AddHub("hub2")
WebPubSub.AppHost (1)
Program.cs (1)
12wps.AddHub("ChatForAspire").AddEventHandler($"{web.GetEndpoint("https")}/eventhandler/", systemEvents: ["connected"]);