315 references to Host
AnalyzeCiFailure (2)
aspire (17)
Aspire.Azure.AI.Extensions.OpenAI (1)
Aspire.Azure.AI.Extensions.OpenAI.Tests (1)
Aspire.Azure.AI.Projects.Tests (1)
Aspire.Azure.Messaging.EventHubs (2)
Aspire.Azure.Messaging.ServiceBus (1)
Aspire.Cli.Tests (5)
Aspire.Dashboard (12)
Aspire.Dashboard.Tests (6)
Aspire.Deployment.EndToEnd.Tests (1)
Aspire.Hosting (16)
Aspire.Hosting.Azure.EntraId (5)
Aspire.Hosting.Azure.Kusto (1)
Aspire.Hosting.Azure.Sandboxes (4)
Aspire.Hosting.Azure.Tests (7)
Aspire.Hosting.DevTunnels (14)
DevTunnelResourceBuilderExtensions.cs (11)
745portResource.TunnelEndpointAnnotation.AllocatedEndpoint = new(portResource.TunnelEndpointAnnotation, portUri.Host, 443);
763if (!wasAvailable || !string.Equals(previousAddress, portUri.Host, StringComparison.OrdinalIgnoreCase))
774|| string.Equals(previousAddress, portUri.Host, StringComparison.OrdinalIgnoreCase)
782&& string.Equals(currentUri.Host, previousAddress, StringComparison.OrdinalIgnoreCase))
784replacementHost = portUri.Host;
788&& string.Equals(currentUri.Host, new Uri(previousInspectUrl).Host, StringComparison.OrdinalIgnoreCase)
791replacementHost = new Uri(inspectUrl).Host;
947var hostPrefixLength = portUri.Host.IndexOf('.');
953var hostPrefix = portUri.Host[..hostPrefixLength];
954var hostSuffix = portUri.Host[hostPrefixLength..];
Aspire.Hosting.Docker (1)
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Testing.Tests (6)
Aspire.Hosting.Tests (2)
Aspire.RabbitMQ.Client (1)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.Seq.Tests (2)
Aspire.TestTools (2)
Client.ExpectedExceptions.IntegrationTests (1)
dotnet-openapi (1)
dotnet-svcutil-lib (11)
dotnet-svcutil.xmlserializer (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Cors (3)
Microsoft.AspNetCore.HeaderParsing.Tests (1)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.InternalTesting (3)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Tasks.Git (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.Diagnostics.NETCore.Client (1)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Providers\MacPlatformSsoDetectionProvider.cs (1)
215uri.Host,
Microsoft.DotNet.HotReload.Watch (2)
Microsoft.Extensions.AI (7)
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Console (1)
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Microsoft.Extensions.AI.Evaluation.Safety (2)
Microsoft.Extensions.Http (4)
src\runtime\src\libraries\Common\src\System\Net\Http\UriRedactionHelper.cs (4)
80(true, true) => $"{uri.Scheme}://{uri.Host}{Slice(pathAndQuery, 0, queryIndex + 1)}*",
81(true, false) => $"{uri.Scheme}://{uri.Host}:{uri.Port}{Slice(pathAndQuery, 0, queryIndex + 1)}*",
82(false, true) => $"{uri.Scheme}://{uri.Host}{pathAndQuery}",
83(false, false) => $"{uri.Scheme}://{uri.Host}:{uri.Port}{pathAndQuery}"
Microsoft.Extensions.Http.Diagnostics (4)
Microsoft.Extensions.Http.Diagnostics.Tests (6)
Microsoft.Extensions.Http.Resilience (3)
Microsoft.Extensions.Http.Resilience.Tests (2)
Microsoft.Extensions.ServiceDiscovery (4)
Microsoft.Extensions.ServiceDiscovery.Abstractions (3)
Microsoft.Extensions.ServiceDiscovery.Yarp (2)
Microsoft.Maui.Controls (1)
Microsoft.Maui.Essentials (3)
Microsoft.ML.Core (2)
Microsoft.NET.Build.Containers (5)
Microsoft.NET.Sdk.Publish.Tasks (2)
Microsoft.SourceLink.AzureDevOpsServer.Git (3)
Microsoft.SourceLink.AzureRepos.Git (2)
Microsoft.SourceLink.Bitbucket.Git (2)
Microsoft.SourceLink.Common (1)
Microsoft.SourceLink.Gitea (2)
Microsoft.SourceLink.Gitee (2)
Microsoft.SourceLink.GitHub (2)
Microsoft.SourceLink.GitLab (2)
Microsoft.SourceLink.GitWeb (2)
Microsoft.TestPlatform.CommunicationUtilities (2)
Microsoft.VisualBasic.Forms (2)
Microsoft.Web.XmlTransform (1)
NuGet.Common (2)
NuGet.Configuration (1)
NuGet.Protocol (1)
PresentationBuildTasks (2)
PresentationCore (2)
PresentationFramework (10)
Security.TransportSecurity.IntegrationTests (15)
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (15)
35bool shouldCallSucceed = string.Compare(localhostEndpointUri.Host, "localhost", StringComparison.OrdinalIgnoreCase) == 0;
63errorBuilder.AppendFormat("The call to '{0}' should have failed but succeeded. ", localhostEndpointUri.Host);
84errorBuilder.AppendFormat("The call to '{0}' should have been successful but failed with a MessageSecurityException. ", localhostEndpointUri.Host);
86errorBuilder.AppendFormat("When connecting to host '{0}', the expectation is that the DNSClaim will be for the same hostname. ", localhostEndpointUri.Host);
112bool shouldCallSucceed = domainNameEndpointUri.Host.IndexOf('.') == -1 && string.Compare(domainNameEndpointUri.Host, "localhost", StringComparison.OrdinalIgnoreCase) != 0;
140errorBuilder.AppendFormat("The call to '{0}' should have failed but succeeded. ", domainNameEndpointUri.Host);
161errorBuilder.AppendFormat("The call to '{0}' should have been successful but failed with a MessageSecurityException. ", domainNameEndpointUri.Host);
163errorBuilder.AppendFormat("When connecting to host '{0}', the expectation is that the DNSClaim will be for the same hostname. ", domainNameEndpointUri.Host);
185var domainNameHost = domainNameEndpointUri.Host.Split('.')[0];
193if (string.Compare(domainNameHost, fqdnEndpointUri.Host, StringComparison.OrdinalIgnoreCase) != 0)
195shouldCallSucceed = fqdnEndpointUri.Host.IndexOf('.') > -1;
226errorBuilder.AppendFormat("The call to '{0}' should have failed but succeeded. ", fqdnEndpointUri.Host);
245errorBuilder.AppendFormat("The call to '{0}' should have been successful but failed with a MessageSecurityException. ", fqdnEndpointUri.Host);
247errorBuilder.AppendFormat("When connecting to host '{0}', the expectation is that the DNSClaim will be for the same hostname. ", fqdnEndpointUri.Host);
System.Diagnostics.Process (1)
System.Net.Http (15)
src\runtime\src\libraries\Common\src\System\Net\Http\UriRedactionHelper.cs (4)
80(true, true) => $"{uri.Scheme}://{uri.Host}{Slice(pathAndQuery, 0, queryIndex + 1)}*",
81(true, false) => $"{uri.Scheme}://{uri.Host}:{uri.Port}{Slice(pathAndQuery, 0, queryIndex + 1)}*",
82(false, true) => $"{uri.Scheme}://{uri.Host}{pathAndQuery}",
83(false, false) => $"{uri.Scheme}://{uri.Host}:{uri.Port}{pathAndQuery}"
System.Net.Http.WinHttpHandler (2)
System.Net.HttpListener (3)
System.Net.Primitives (6)
System.Net.Requests (8)
System.Net.WebProxy (3)
System.Private.Uri (5)
System.Runtime.Serialization.Schema (1)
System.ServiceModel.Http (1)
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.NetTcp (3)
System.ServiceModel.Primitives (2)
System.ServiceModel.UnixDomainSocket (2)
System.Speech (1)