199 references to Host
Aspire.Azure.AI.OpenAI (1)
Aspire.Azure.Messaging.EventHubs (2)
Aspire.Azure.Messaging.ServiceBus (1)
Aspire.Dashboard (3)
Aspire.Dashboard.Tests (3)
Aspire.Hosting (1)
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)
IIS.FunctionalTests (3)
IISExpress.FunctionalTests (3)
InMemory.FunctionalTests (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Cors (3)
Microsoft.AspNetCore.HeaderParsing.Tests (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.Build.Tasks.Core (3)
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.Evaluation.Safety (1)
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 (2)
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)
36bool shouldCallSucceed = string.Compare(localhostEndpointUri.Host, "localhost", StringComparison.OrdinalIgnoreCase) == 0;
64errorBuilder.AppendFormat("The call to '{0}' should have failed but succeeded. ", localhostEndpointUri.Host);
85errorBuilder.AppendFormat("The call to '{0}' should have been successful but failed with a MessageSecurityException. ", localhostEndpointUri.Host);
87errorBuilder.AppendFormat("When connecting to host '{0}', the expectation is that the DNSClaim will be for the same hostname. ", localhostEndpointUri.Host);
113bool shouldCallSucceed = domainNameEndpointUri.Host.IndexOf('.') == -1 && string.Compare(domainNameEndpointUri.Host, "localhost", StringComparison.OrdinalIgnoreCase) != 0;
141errorBuilder.AppendFormat("The call to '{0}' should have failed but succeeded. ", domainNameEndpointUri.Host);
162errorBuilder.AppendFormat("The call to '{0}' should have been successful but failed with a MessageSecurityException. ", domainNameEndpointUri.Host);
164errorBuilder.AppendFormat("When connecting to host '{0}', the expectation is that the DNSClaim will be for the same hostname. ", domainNameEndpointUri.Host);
186var domainNameHost = domainNameEndpointUri.Host.Split('.')[0];
194if (string.Compare(domainNameHost, fqdnEndpointUri.Host, StringComparison.OrdinalIgnoreCase) != 0)
196shouldCallSucceed = fqdnEndpointUri.Host.IndexOf('.') > -1;
227errorBuilder.AppendFormat("The call to '{0}' should have failed but succeeded. ", fqdnEndpointUri.Host);
246errorBuilder.AppendFormat("The call to '{0}' should have been successful but failed with a MessageSecurityException. ", fqdnEndpointUri.Host);
248errorBuilder.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 (18)
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.NetNamedPipe (1)
System.ServiceModel.UnixDomainSocket (2)