42 references to Url
Aspire.Hosting (5)
ApplicationModel\EndpointReference.cs (5)
73public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(cancellationToken); 81public ValueTask<string?> GetValueAsync(ValueProviderContext context, CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(context, cancellationToken); 93internal string GetExpression(EndpointProperty property = EndpointProperty.Url) 97EndpointProperty.Url => Binding("url"), 328EndpointProperty.Url => new(allocatedEndpoint.UriString),
Aspire.Hosting.Azure.AppConfiguration (1)
AzureAppConfigurationResource.cs (1)
48? 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 (3)
AzureAppServiceWebsiteContext.cs (3)
154(GetEndpointValue(context._slotEndpointMapping[ep.EndpointName], EndpointProperty.Url), secretType) : 155(GetEndpointValue(context._endpointMapping[ep.EndpointName], EndpointProperty.Url), secretType); 746EndpointProperty.Url => BicepFunction.Interpolate($"{mapping.Scheme}://{mapping.Host}.azurewebsites.net"),
Aspire.Hosting.Azure.CosmosDB (2)
AzureCosmosDBEmulatorConnectionString.cs (1)
13? ReferenceExpression.Create($"AccountKey={CosmosConstants.EmulatorAccountKey};AccountEndpoint={endpoint.Property(EndpointProperty.Url)}")
AzureCosmosDBResource.cs (1)
102ReferenceExpression.Create($"{EmulatorEndpoint.Property(EndpointProperty.Url)}") :
Aspire.Hosting.Azure.KeyVault (2)
AzureKeyVaultResource.cs (2)
56ReferenceExpression.Create($"{EmulatorEndpoint.Property(EndpointProperty.Url)}") : 72ReferenceExpression.Create($"{EmulatorEndpoint.Property(EndpointProperty.Url)}") :
Aspire.Hosting.Azure.SignalR (2)
AzureSignalRResource.cs (2)
52ReferenceExpression.Create($"{EmulatorEndpoint.Property(EndpointProperty.Url)}") : 60ReferenceExpression.Create($"Endpoint={EmulatorEndpoint.Property(EndpointProperty.Url)};AccessKey=ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGH;Version=1.0;"):
Aspire.Hosting.Azure.Storage (3)
AzureStorageResource.cs (3)
82? ReferenceExpression.Create($"{EmulatorBlobEndpoint.Property(EndpointProperty.Url)}") 102? ReferenceExpression.Create($"{EmulatorQueueEndpoint.Property(EndpointProperty.Url)}") 112? ReferenceExpression.Create($"{EmulatorTableEndpoint.Property(EndpointProperty.Url)}")
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)
392var url = GetEndpointValue(mapping, EndpointProperty.Url); 464EndpointProperty.Url => GetHostValue($"{scheme}://", suffix: GetPortSuffix()),
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 (10)
EndpointReferenceTests.cs (8)
36var endpointExpr = endpointRef.Property(EndpointProperty.Url); 56var endpointExpr = endpointRef.Property(EndpointProperty.Url); 169var endpointExpr = endpointRef.Property(EndpointProperty.Url); 187var expr1 = endpointRef.Property(EndpointProperty.Url); 289[InlineData(EndpointProperty.Url, ResourceKind.Host, ResourceKind.Host, "blah://localhost:1234")] 290[InlineData(EndpointProperty.Url, ResourceKind.Host, ResourceKind.Container, "blah://localhost:1234")] 291[InlineData(EndpointProperty.Url, ResourceKind.Container, ResourceKind.Host, "blah://host.docker.internal:1234")] 292[InlineData(EndpointProperty.Url, ResourceKind.Container, ResourceKind.Container, "blah://destination.dev.internal:4567")]
ExpressionResolverTests.cs (2)
298ReferenceExpression.Create($"{PrimaryEndpoint.Property(EndpointProperty.Url)}"); 323{ "Url", ReferenceExpression.Create($"Url={Endpoint1.Property(EndpointProperty.Url)};") },
Stress.AppHost (1)
Program.cs (1)
46.WithEnvironment("URL", $"{serviceBuilder.GetEndpoint("http").Property(EndpointProperty.Url)}");