28 references to Url
Aspire.Hosting (6)
ApplicationModel\EndpointReference.cs (4)
58public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(cancellationToken); 63internal string GetExpression(EndpointProperty property = EndpointProperty.Url) 67EndpointProperty.Url => Binding("url"), 206EndpointProperty.Url => new(allocatedEndpoint.UriString),
ApplicationModel\ExpressionResolver.cs (2)
24(EndpointProperty.Url, _) => string.Format(CultureInfo.InvariantCulture, "{0}://{1}:{2}", 135EndpointReference endpointReference when sourceIsContainer => new ResolvedValue(await EvalEndpointAsync(endpointReference, EndpointProperty.Url).ConfigureAwait(false), false),
Aspire.Hosting.Azure.AppConfiguration (1)
AzureAppConfigurationResource.cs (1)
41? ReferenceExpression.Create($"Endpoint={EmulatorEndpoint.Property(EndpointProperty.Url)};Id=anonymous;Secret=abcdefghijklmnopqrstuvwxyz1234567890;Anonymous=True")
Aspire.Hosting.Azure.AppContainers (2)
BaseContainerAppContext.cs (2)
197EndpointProperty.Url => GetHostValue($"{scheme}://", suffix: isHttpIngress ? null : $":{port}"), 222var url = GetEndpointValue(mapping, EndpointProperty.Url);
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceWebsiteContext.cs (2)
120return (GetEndpointValue(context._endpointMapping[ep.EndpointName], EndpointProperty.Url), secretType); 362EndpointProperty.Url => BicepFunction.Interpolate($"{mapping.Scheme}://{mapping.Host}.azurewebsites.net"),
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBEmulatorConnectionString.cs (1)
13? ReferenceExpression.Create($"AccountKey={CosmosConstants.EmulatorAccountKey};AccountEndpoint={endpoint.Property(EndpointProperty.Url)}")
Aspire.Hosting.Azure.SignalR (1)
AzureSignalRResource.cs (1)
40? ReferenceExpression.Create($"Endpoint={EmulatorEndpoint.Property(EndpointProperty.Url)};AccessKey=ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGH;Version=1.0;")
Aspire.Hosting.Docker (2)
DockerComposeServiceResourceExtensions.cs (2)
26var url = GetValue(mapping, EndpointProperty.Url); 92EndpointProperty.Url => GetHostValue($"{mapping.Scheme}://", $":{mapping.InternalPort}"),
Aspire.Hosting.Kubernetes (2)
KubernetesResource.cs (2)
374var url = GetEndpointValue(mapping, EndpointProperty.Url); 446EndpointProperty.Url => GetHostValue($"{scheme}://", suffix: $":{port}"),
Aspire.Hosting.Milvus (1)
MilvusServerResource.cs (1)
43$"Endpoint={PrimaryEndpoint.Property(EndpointProperty.Url)};Key=root:{ApiKeyParameter}");
Aspire.Hosting.Qdrant (2)
QdrantServerResource.cs (2)
48$"Endpoint={PrimaryEndpoint.Property(EndpointProperty.Url)};Key={ApiKeyParameter}"); 55$"Endpoint={HttpEndpoint.Property(EndpointProperty.Url)};Key={ApiKeyParameter}");
Aspire.Hosting.Seq (1)
SeqResource.cs (1)
25ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}");
Aspire.Hosting.Tests (6)
EndpointReferenceTests.cs (4)
36var endpointExpr = endpointRef.Property(EndpointProperty.Url); 56var endpointExpr = endpointRef.Property(EndpointProperty.Url); 169var endpointExpr = endpointRef.Property(EndpointProperty.Url); 187var expr1 = endpointRef.Property(EndpointProperty.Url);
ExpressionResolverTests.cs (2)
199ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}"); 223{ "Url", ReferenceExpression.Create($"Url={Endpoint1.Property(EndpointProperty.Url)};") },
Stress.AppHost (1)
Program.cs (1)
46.WithEnvironment("URL", $"{serviceBuilder.GetEndpoint("http").Property(EndpointProperty.Url)}");