24 references to PrimaryBrowserOrigin
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
2488/// The preferred finalized origin is available through <see cref="EndpointReference.PrimaryBrowserOrigin"/>,
Aspire.Hosting.Azure.EntraId (3)
EntraIdResourceExtensions.cs (1)
1554var origin = computeEnvironment.GetEndpointPropertyExpression(endpoint.PrimaryBrowserOrigin);
EntraIdRunModeBrowserOrigin.cs (2)
22public string ValueExpression => endpoint.PrimaryBrowserOrigin.ValueExpression; 38return await endpoint.PrimaryBrowserOrigin.GetValueAsync(context, timeout.Token).ConfigureAwait(false);
Aspire.Hosting.Azure.EntraId.Tests (1)
EntraIdProvisioningTests.cs (1)
1179Assert.Equal(endpoint.PrimaryBrowserOrigin.ValueExpression, provider.ValueExpression);
Aspire.Hosting.Azure.Tests (2)
AzureEnvironmentResourceTests.cs (2)
69var origin = frontend.GetEndpoint("http").PrimaryBrowserOrigin; 105var origins = frontend.GetEndpoint("http").PrimaryBrowserOrigin;
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
654new ContainerResource("frontend").GetEndpoint("https").PrimaryBrowserOrigin);
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
153.WithEnvironment("ORIGIN", web.GetEndpoint("http").PrimaryBrowserOrigin)
Aspire.Hosting.Kubernetes.Tests (3)
KubernetesPublisherTests.cs (3)
249.WithEnvironment("ORIGIN", endpoint.PrimaryBrowserOrigin) 317.WithEnvironment("ORIGIN", web.GetEndpoint("http").PrimaryBrowserOrigin) 353.WithEnvironment("ORIGIN", web.GetEndpoint("http").PrimaryBrowserOrigin)
Aspire.Hosting.Radius.Tests (2)
Publishing\RadiusDeployParametersTests.cs (2)
100.WithEnvironment("ORIGIN", web.GetEndpoint("http").PrimaryBrowserOrigin) 102.WithEnvironment("CONFIG", ReferenceExpression.Create($"origin={web.GetEndpoint("http").PrimaryBrowserOrigin}"));
Aspire.Hosting.Tests (9)
EndpointReferenceTests.cs (8)
511Assert.Equal(EndpointProperty.PrimaryBrowserOrigin, endpoint.PrimaryBrowserOrigin.Property); 512Assert.Equal("{frontend.bindings.http.primaryBrowserOrigin}", endpoint.PrimaryBrowserOrigin.ValueExpression); 534Assert.Equal("https://public.example", await endpoint.PrimaryBrowserOrigin.GetValueAsync()); 549Assert.Equal(expected, await endpoint.PrimaryBrowserOrigin.GetValueAsync()); 566Assert.Equal("https://frontend.example", await endpoint.PrimaryBrowserOrigin.GetValueAsync()); 593Assert.Equal("https://public.example", await host.PrimaryBrowserOrigin.GetValueAsync()); 594Assert.Equal("https://public.example", await container.PrimaryBrowserOrigin.GetValueAsync( 631Assert.Equal(expected, await endpoint.PrimaryBrowserOrigin.GetValueAsync());
Schema\SchemaTests.cs (1)
66.WithEnvironment("ORIGIN", frontend.GetEndpoint("http").PrimaryBrowserOrigin)
EntraId.AppHost (1)
AppHost.cs (1)
64nodeWeb.WithEnvironment("NODE_WEB_BASE_URL", nodeWeb.GetEndpoint("https").PrimaryBrowserOrigin);