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