12 references to WithBackend
Aspire.Hosting.Azure.Tests (8)
AzureApiManagementTests.cs (8)
1706
.
WithBackend
(primaryBackend, priority: 1, weight: 3)
1707
.
WithBackend
(secondaryBackend, priority: 2, weight: 1);
1759
.
WithBackend
(backend, priority: 0, weight: 0);
2422
api.WithBackend(apim.AddBackendPool("catalog-pool").
WithBackend
(backend));
2788
.
WithBackend
(primaryBackend, weight: 3)
2789
.
WithBackend
(secondaryBackend);
2879
var pool = apim.AddBackendPool("pool").
WithBackend
(storageBackend);
2881
var exception = Assert.Throws<InvalidOperationException>(() => pool.
WithBackend
(cognitiveBackend));
AzureApiManagementOpenAI.AppHost (4)
AppHost.cs (4)
32
.
WithBackend
(primaryFoundryBackend, priority: 1, weight: 3)
33
.
WithBackend
(secondaryFoundryBackend, priority: 1, weight: 1);
49
.
WithBackend
(primaryBlobBackend, priority: 1, weight: 3)
50
.
WithBackend
(secondaryBlobBackend, priority: 1, weight: 1);