6 writes to EmulatorServiceUri
Aspire.Hosting.Azure.Tests (4)
FoundryConnectionPropertiesTests.cs (1)
40
aiFoundry.Resource.
EmulatorServiceUri
= new Uri("http://localhost:8080");
FoundryDeploymentConnectionPropertiesTests.cs (1)
21
deployment.Resource.Parent.
EmulatorServiceUri
= new Uri("http://localhost:8080");
FoundryExtensionsTests.cs (2)
512
EmulatorServiceUri
= new Uri("http://windows-host:5273/")
539
EmulatorServiceUri
= new Uri("http://windows-host:5273/")
Aspire.Hosting.Foundry (2)
FoundryExtensions.cs (2)
225
resource.
EmulatorServiceUri
= existingEndpoint;
359
resource.
EmulatorServiceUri
= FoundryLocalService.Endpoint;
9 references to EmulatorServiceUri
Aspire.Hosting.Azure.Tests (1)
FoundryExtensionsTests.cs (1)
558
Assert.Equal(new Uri("http://windows-host:5273/"), foundry.Resource.
EmulatorServiceUri
);
Aspire.Hosting.Foundry (8)
FoundryExtensions.cs (1)
367
if (resource.
EmulatorServiceUri
is not null)
FoundryLocalHealthCheck.cs (3)
13
if (resource.
EmulatorServiceUri
is null)
21
using var request = new HttpRequestMessage(HttpMethod.Get, new Uri(resource.
EmulatorServiceUri
, "v1/models"));
30
using var legacyRequest = new HttpRequestMessage(HttpMethod.Get, new Uri(resource.
EmulatorServiceUri
, "openai/status"));
FoundryResource.cs (3)
59
EmulatorServiceUri
is not null ?
60
ReferenceExpression.Create($"{
EmulatorServiceUri
.ToString()}") :
69
? ReferenceExpression.Create($"Endpoint={
EmulatorServiceUri
?.ToString()};Key={ApiKey}")
LocalModelHealthCheck.cs (1)
18
var endpoint = deployment.Parent.
EmulatorServiceUri
;