15 references to BrowserUrlsSnapshot
Aspire.Hosting (3)
ApplicationModel\EndpointReference.cs (1)
411var snapshot = Endpoint.EndpointAnnotation.BrowserUrlsSnapshot;
Orchestrator\ApplicationOrchestrator.cs (2)
594endpoint.BrowserUrlsSnapshot.SetValue(browserUrls 620endpoint.BrowserUrlsSnapshot.SetException(ex);
Aspire.Hosting.Tests (12)
EndpointReferenceTests.cs (10)
525endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue( 546endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([]); 559endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://frontend.example/path" }]); 575resource.GetEndpoint("http").EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "http://frontend.example" }]); 576resource.GetEndpoint("https").EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://separate.example" }]); 589host.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://public.example/app" }]); 606endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue( 628endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = url }]); 663endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://frontend.example/app" }]); 677endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://local.example" }]);
ManifestExpressionTests.cs (2)
425Assert.False(endpoint.EndpointAnnotation.BrowserUrlsSnapshot.IsValueSet); 486Assert.False(frontend.GetEndpoint("http").EndpointAnnotation.BrowserUrlsSnapshot.IsValueSet);