37 instantiations of UrlSnapshot
Aspire.Hosting (5)
Aspire.Hosting.Azure (3)
Provisioning\Provisioners\BicepProvisioner.cs (3)
122portalUrls.Add(new(Name: DeploymentUrlName, Url: GetDeploymentUrl(id), IsInternal: false));
333Urls = [.. state.Urls.Where(static url => !string.Equals(url.Name, DeploymentUrlName, StringComparison.Ordinal)), new(Name: DeploymentUrlName, Url: deploymentUrl, IsInternal: false)],
695Urls = [.. state.Urls, new(Name: DeploymentUrlName, Url: url, IsInternal: false)],
Aspire.Hosting.Azure.EntraId (2)
Aspire.Hosting.Azure.EntraId.Tests (7)
EntraIdInitializationTests.cs (7)
30new("OpenID Config", $"https://login.microsoftonline.com/{TenantId}/v2.0/.well-known/openid-configuration", IsInternal: false)
34new("Azure Portal", $"https://portal.azure.com/#@{TenantId}/view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/{ClientId}/isMSAApp~/false", IsInternal: false)
83new("OpenID Config", "https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration", IsInternal: false)
87new("Azure Portal", $"https://portal.azure.com/#@{TenantId}/view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/{ClientId}/isMSAApp~/false", IsInternal: false)
115new("OpenID Config", $"https://login.contoso.example/{TenantId}/v2.0/.well-known/openid-configuration", IsInternal: false)
318Urls = [new("docs", "https://contoso.example/docs", IsInternal: false)],
439Urls = [new UrlSnapshot("docs", "https://contoso.example/docs", IsInternal: false)],
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.Tests (4)
AzureEnvironmentResourceExtensionsTests.cs (4)
102Urls = [new("Entra registration", "https://entra.microsoft.com", IsInternal: false)]
640new("deployment", "https://portal.azure.com", false)
2419Urls = [new("deployment", "https://portal.azure.com/storage", false)],
2426Urls = [new("deployment", "https://portal.azure.com/storage2", false)],
Aspire.Hosting.Blazor (1)
Aspire.Hosting.DevTunnels.Tests (8)
DevTunnelMonitorTests.cs (8)
185Urls = [new("tunnel", test.Port.LastKnownStatus!.PortUri!.AbsoluteUri, false)]
209Urls = [new("tunnel", "https://original-3000.usw2.devtunnels.ms/", false)]
260new("tunnel", "https://original-3000.usw2.devtunnels.ms/swagger?x=1#operations", false),
261new("tunnel", "https://original-3000.usw2.devtunnels.ms/health?next=%2F", false),
262new("tunnel", "https://docs.example/guide?x=1", false),
263new(null, "https://original-3000-inspect.usw2.devtunnels.ms/requests?id=1", true) { DisplayProperties = new("Inspect") }
318Urls = [new("tunnel", "https://original-3000.usw2.devtunnels.ms/", false)]
350Urls = [new("tunnel", "https://original-3000.usw2.devtunnels.ms/", false)]
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Tests (5)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
187new UrlSnapshot("http", "http://localhost:5000", false) { DisplayProperties = new UrlDisplayPropertiesSnapshot("HTTP Endpoint", 1) },
188new UrlSnapshot("https", "https://localhost:5001", true) { DisplayProperties = new UrlDisplayPropertiesSnapshot("HTTPS Endpoint", 2) },
189new UrlSnapshot("inactive", "http://localhost:5002", false) { IsInactive = true }
34 references to UrlSnapshot
Aspire.Hosting (14)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Azure.EntraId (1)
Aspire.Hosting.Azure.EntraId.Tests (3)
Aspire.Hosting.Blazor (2)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Redis.Tests (2)
Aspire.Hosting.Tests (9)