17 references to SetPort
Aspire.Hosting (2)
Dcp\PersistentPortAllocator.cs (2)
58
_store.
SetPort
(key, allocatedPort);
177
_store.
SetPort
(key, legacyPort);
Aspire.Hosting.Tests (15)
Dcp\AppHostLocalStateStoreTests.cs (11)
27
firstStore.
SetPort
(firstKey, 12001);
28
secondStore.
SetPort
(secondKey, 12002);
53
store.
SetPort
(new PersistentPortAllocationKey("Program", "HTTP"), 12001);
58
store.
SetPort
(equivalentKey, 12002);
82
portAllocationStore.
SetPort
(new PersistentPortAllocationKey("first", "http"), 12001);
92
portAllocationStore.
SetPort
(new PersistentPortAllocationKey("second", "http"), 12002);
116
portAllocationStore.
SetPort
(new PersistentPortAllocationKey("first", "http"), 12001);
141
portAllocationStore.
SetPort
(new PersistentPortAllocationKey("first", "http"), 12001);
171
CreatePortAllocationStore(directLaunchConfiguration).
SetPort
(key, 12001);
187
initialStore.
SetPort
(firstKey, 12001);
207
portAllocationStore.
SetPort
(secondKey, 12002);
Dcp\DcpExecutorTests.cs (4)
1972
CreatePersistentPortAllocationStore(configuration).
SetPort
(storedPortKey, persistedPort);
2019
CreatePersistentPortAllocationStore(configuration).
SetPort
(portKey, persistedPort);
2071
store.
SetPort
(portKey, persistedPort);
2122
CreatePersistentPortAllocationStore(configuration).
SetPort
(