22 references to DnsEndPoint
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
176socketArgs.RemoteEndPoint = new DnsEndPoint(requestUri.DnsSafeHost, requestUri.Port);
Microsoft.Extensions.ServiceDiscovery (3)
Configuration\ConfigurationServiceEndpointProvider.cs (1)
213endPoint = new DnsEndPoint(uri.Host, port);
PassThrough\PassThroughServiceEndpointProviderFactory.cs (2)
22endPoint = new DnsEndPoint(serviceName, 0); 57endPoint = new DnsEndPoint(host, port);
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (4)
DnsSrvServiceEndpointResolverTests.cs (4)
122Assert.Equal(new DnsEndPoint("remotehost", 7777), eps[2].EndPoint); 214Assert.Equal(new DnsEndPoint("remotehost", 7777), eps[2].EndPoint); 227Assert.Equal(new DnsEndPoint("localhost", 8080), initialResult.EndpointSource.Endpoints[0].EndPoint); 228Assert.Equal(new DnsEndPoint("remotehost", 9090), initialResult.EndpointSource.Endpoints[1].EndPoint);
Microsoft.Extensions.ServiceDiscovery.Tests (8)
ConfigurationServiceEndpointResolverTests.cs (3)
44Assert.Equal(new DnsEndPoint("localhost", 8080), ep.EndPoint); 370Assert.Equal(new DnsEndPoint("localhost", 2222), initialResult.EndpointSource.Endpoints[0].EndPoint); 417Assert.Equal(new DnsEndPoint("localhost", 2222), initialResult.EndpointSource.Endpoints[0].EndPoint);
PassThroughServiceEndpointResolverTests.cs (3)
39Assert.Equal(new DnsEndPoint("basket", 80), ep.EndPoint); 105Assert.Equal(new DnsEndPoint("catalog", 80), initialResult.EndpointSource.Endpoints[0].EndPoint); 128Assert.Equal(new DnsEndPoint("catalog", 0), result.Endpoints[0].EndPoint);
ServiceEndpointTests.cs (2)
14new DnsEndPoint("microsoft.com", 0), 21new DnsEndPoint("microsoft.com", 8443),
Microsoft.Gen.Logging.Generated.Tests (1)
LogPropertiesTests.cs (1)
99P9 = new DnsEndPoint("microsoft.com", 42),
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
67socketArgs.RemoteEndPoint = new DnsEndPoint(hostName, port);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
67socketArgs.RemoteEndPoint = new DnsEndPoint(hostName, port);
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
664var endPoint = new DnsEndPoint(host, port);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
273QuicConnection quicConnection = await ConnectHelper.ConnectQuicAsync(queueItem.Request, new DnsEndPoint(authority.IdnHost, authority.Port), _poolManager.Settings._pooledConnectionIdleTimeout, _sslOptionsHttp3!, connection.StreamCapacityCallback, cts.Token).ConfigureAwait(false);
System.Net.Sockets (1)
System\Net\Sockets\Socket.Tasks.cs (1)
244new DnsEndPoint(host, port);