26 references to IPV4Host
Aspire.Hosting (4)
ApplicationModel\EndpointReference.cs (3)
142EndpointProperty.Host or EndpointProperty.IPV4Host => Binding("host"), 367EndpointProperty.IPV4Host when networkContext == KnownNetworkIdentifiers.LocalhostNetwork => "127.0.0.1", 380EndpointProperty.IPV4Host => new(allocatedEndpoint.Address),
ApplicationModel\IComputeEnvironmentResource.cs (1)
56EndpointProperty.Host or EndpointProperty.IPV4Host => host.Value,
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppEnvironmentResource.cs (1)
379EndpointProperty.Host or EndpointProperty.IPV4Host => host,
BaseContainerAppContext.cs (1)
206EndpointProperty.Host or EndpointProperty.IPV4Host => GetHostValue(),
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentResource.cs (1)
531EndpointProperty.Host or EndpointProperty.IPV4Host => host,
AzureAppServiceWebsiteContext.cs (1)
873EndpointProperty.IPV4Host => BicepFunction.Interpolate($"{mapping.Host}.azurewebsites.net"),
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBEmulatorConnectionString.cs (1)
14: ReferenceExpression.Create($"AccountKey={CosmosConstants.EmulatorAccountKey};AccountEndpoint=https://{endpoint.Property(EndpointProperty.IPV4Host)}:{endpoint.Property(EndpointProperty.Port)};DisableServerCertificateValidation=True;");
Aspire.Hosting.Azure.Storage (1)
AzureStorageEmulatorConnectionString.cs (1)
35builder.Append($"{key}={endpoint.Property(EndpointProperty.Scheme)}://{endpoint.Property(EndpointProperty.IPV4Host)}:{endpoint.Property(EndpointProperty.Port)}/devstoreaccount1;");
Aspire.Hosting.Azure.Tests (3)
AzureAppServiceTests.cs (1)
1131[InlineData(EndpointProperty.IPV4Host, "project1-website123.azurewebsites.net")]
AzureContainerAppsTests.cs (1)
2733[InlineData(EndpointProperty.IPV4Host, "project1.example.azurecontainerapps.io")]
src\Aspire.Hosting.Azure.Storage\AzureStorageEmulatorConnectionString.cs (1)
35builder.Append($"{key}={endpoint.Property(EndpointProperty.Scheme)}://{endpoint.Property(EndpointProperty.IPV4Host)}:{endpoint.Property(EndpointProperty.Port)}/devstoreaccount1;");
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
106EndpointProperty.Host or EndpointProperty.IPV4Host => GetHostValue(),
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
763EndpointProperty.Host or EndpointProperty.IPV4Host => GetHostValue(),
Aspire.Hosting.Radius (1)
RadiusEnvironmentResource.cs (1)
166EndpointProperty.Host or EndpointProperty.IPV4Host => host.Value,
Aspire.Hosting.Radius.Tests (1)
RadiusEnvironmentResourceTests.cs (1)
76[InlineData(EndpointProperty.IPV4Host, "api-api.default.svc.cluster.local")]
Aspire.Hosting.SqlServer (1)
SqlServerServerResource.cs (1)
50$"Server={PrimaryEndpoint.Property(EndpointProperty.IPV4Host)},{PrimaryEndpoint.Property(EndpointProperty.Port)};User ID={DefaultUserName};Password={PasswordParameter};TrustServerCertificate=true");
Aspire.Hosting.Tests (8)
ComputeEnvironmentValidationTests.cs (1)
66[InlineData(EndpointProperty.IPV4Host, "api.example.com")]
EndpointReferenceTests.cs (5)
124var ipv4Expr = endpointRef.Property(EndpointProperty.IPV4Host); 314[InlineData(EndpointProperty.IPV4Host, ResourceKind.Host, ResourceKind.Host, "127.0.0.1")] 315[InlineData(EndpointProperty.IPV4Host, ResourceKind.Host, ResourceKind.Container, "127.0.0.1")] 316[InlineData(EndpointProperty.IPV4Host, ResourceKind.Container, ResourceKind.Host, "host.docker.internal")] 317[InlineData(EndpointProperty.IPV4Host, ResourceKind.Container, ResourceKind.Container, "destination.dev.internal")]
ExpressionResolverTests.cs (2)
351{ "TwoFullEndpoints", ReferenceExpression.Create($"Test1={Endpoint1.Property(EndpointProperty.Scheme)}://{Endpoint1.Property(EndpointProperty.IPV4Host)}:{Endpoint1.Property(EndpointProperty.Port)}/;Test2={Endpoint2.Property(EndpointProperty.Scheme)}://{Endpoint2.Property(EndpointProperty.Host)}:{Endpoint2.Property(EndpointProperty.Port)}/;") }, 358{ "FullAndPartial", ReferenceExpression.Create($"Test1={Endpoint1.Property(EndpointProperty.Scheme)}://{Endpoint1.Property(EndpointProperty.IPV4Host)}:{Endpoint1.Property(EndpointProperty.Port)}/;Test2={Endpoint2.Property(EndpointProperty.Scheme)}://localhost:{Endpoint2.Property(EndpointProperty.Port)}/;") },