32 references to Url
Aspire.Hosting (7)
ApplicationModel\EndpointReference.cs (5)
59public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(cancellationToken); 67public ValueTask<string?> GetValueAsync(ValueProviderContext context, CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(context, cancellationToken); 79internal string GetExpression(EndpointProperty property = EndpointProperty.Url) 83EndpointProperty.Url => Binding("url"), 306EndpointProperty.Url => new(allocatedEndpoint.UriString),
ApplicationModel\ExpressionResolver.cs (2)
26(EndpointProperty.Url, _) => string.Format(CultureInfo.InvariantCulture, "{0}://{1}:{2}", 104EndpointReference er when networkContext == KnownNetworkIdentifiers.DefaultAspireContainerNetwork => new ResolvedValue(await ResolveInContainerContextAsync(er, EndpointProperty.Url, context).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)
205EndpointProperty.Url => GetHostValue($"{scheme}://", suffix: isHttpIngress ? null : $":{port}"), 230var url = GetEndpointValue(mapping, EndpointProperty.Url);
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceWebsiteContext.cs (2)
138return (GetEndpointValue(context._endpointMapping[ep.EndpointName], EndpointProperty.Url), secretType); 414EndpointProperty.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)
69public ReferenceExpression UriExpression => ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}");
Aspire.Hosting.Qdrant (4)
QdrantServerResource.cs (4)
68$"Endpoint={PrimaryEndpoint.Property(EndpointProperty.Url)};Key={ApiKeyParameter}"); 76public ReferenceExpression UriExpression => ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}"); 83$"Endpoint={HttpEndpoint.Property(EndpointProperty.Url)};Key={ApiKeyParameter}"); 91public ReferenceExpression HttpUriExpression => ReferenceExpression.Create($"{HttpEndpoint.Property(EndpointProperty.Url)}");
Aspire.Hosting.Seq (2)
SeqResource.cs (2)
35ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}"); 43public ReferenceExpression UriExpression => ReferenceExpression.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)
247ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}"); 272{ "Url", ReferenceExpression.Create($"Url={Endpoint1.Property(EndpointProperty.Url)};") },
Stress.AppHost (1)
Program.cs (1)
46.WithEnvironment("URL", $"{serviceBuilder.GetEndpoint("http").Property(EndpointProperty.Url)}");