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