210 references to Host
Aspire.Azure.AI.OpenAI (1)
Aspire.Azure.Messaging.EventHubs (2)
Aspire.Azure.Messaging.ServiceBus (1)
Aspire.Dashboard (6)
Aspire.Dashboard.Tests (3)
Aspire.Hosting (2)
Aspire.Hosting.Testing.Tests (3)
Aspire.RabbitMQ.Client (1)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v7.Tests (1)
Client.ExpectedExceptions.IntegrationTests (1)
ClientSample (2)
dotnet-openapi (1)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (11)
IdentitySample.PasskeyConformance (1)
IIS.FunctionalTests (3)
IISExpress.FunctionalTests (3)
InMemory.FunctionalTests (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Cors (3)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.InternalTesting (3)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (18)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Build.Tasks.Feed (4)
Microsoft.DotNet.Git.IssueManager (3)
Microsoft.Extensions.AI (2)
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\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 (5)
Microsoft.Extensions.Http.Diagnostics.Tests (6)
Microsoft.Extensions.Http.Polly.Tests (1)
Microsoft.Extensions.Http.Resilience (3)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.ServiceDiscovery (6)
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
Microsoft.Extensions.ServiceDiscovery.Yarp (2)
Microsoft.Maui.Controls (1)
Microsoft.Maui.Essentials (3)
Microsoft.ML.Core (2)
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 (16)
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.HttpListener (3)
System.Net.Primitives (6)
System.Net.Requests (8)
System.Net.WebProxy (4)
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)