5 instantiations of NamedPipeEndPoint
Aspire.Hosting.Native.Core.Tests (2)
NativeNamedPipeTests.cs (2)
44new NamedPipeEndPoint("aspire-v2-test", "remote-host"), Token, NullLogger.Instance)); 57private static NamedPipeEndPoint CreateEndpoint() => new($"v2-{Guid.NewGuid():N}"[..19]);
Aspire.Hosting.Native.Server (1)
NativeServerConfiguration.cs (1)
151return new NamedPipeEndPoint(path);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\AddressBinder.cs (1)
126options = new ListenOptions(new NamedPipeEndPoint(parsedAddress.NamedPipeName));
KestrelServerOptions.cs (1)
647var listenOptions = new ListenOptions(new NamedPipeEndPoint(pipeName));
27 references to NamedPipeEndPoint
Aspire.Hosting.Native.Core.Tests (5)
NativeConfigurationTests.cs (2)
168var pipe = Assert.IsType<NamedPipeEndPoint>(NativeStartupArguments.Parse(["--socket", "apphost.sock.test"], configuredSocket: null));
NativeNamedPipeTests.cs (2)
50var endpoint = CreateEndpoint(); 57private static NamedPipeEndPoint CreateEndpoint() => new($"v2-{Guid.NewGuid():N}"[..19]);
TestServices\NativeSocketTestHost.cs (1)
67if (endPoint is NamedPipeEndPoint pipe)
Aspire.Hosting.Native.Server (3)
Rpc\NativeRpcListener.cs (3)
19private readonly NamedPipeEndPoint? _pipeEndpoint; 67if (endPoint is not UnixDomainSocketEndPoint and not NamedPipeEndPoint { ServerName: "." } && 76if (endPoint is NamedPipeEndPoint pipe)
Microsoft.AspNetCore.Connections.Abstractions (4)
NamedPipeEndPoint.cs (4)
17/// Initializes a new instance of the <see cref="NamedPipeEndPoint"/> class. 25/// Initializes a new instance of the <see cref="NamedPipeEndPoint"/> class. 46/// Gets the pipe name represented by this <see cref="NamedPipeEndPoint"/> instance. 57return obj is NamedPipeEndPoint other && other.ServerName == ServerName && other.PipeName == PipeName;
Microsoft.AspNetCore.Http.Connections (1)
src\aspnetcore\src\Shared\ConnectionEndpointTags.cs (1)
79else if (localEndpoint is NamedPipeEndPoint namedPipeEndPoint)
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Infrastructure\TransportManager.cs (1)
56if (endPoint is NamedPipeEndPoint && !OperatingSystem.IsWindows())
ListenOptions.cs (3)
74/// Only set if the <see cref="ListenOptions"/> is bound to a <see cref="NamedPipeEndPoint"/>. 76public string? PipeName => (EndPoint as NamedPipeEndPoint)?.PipeName.ToString(); 155case NamedPipeEndPoint namedPipeEndPoint:
src\aspnetcore\src\Shared\ConnectionEndpointTags.cs (1)
79else if (localEndpoint is NamedPipeEndPoint namedPipeEndPoint)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (8)
CreateNamedPipeServerStreamContext.cs (1)
17public required NamedPipeEndPoint NamedPipeEndPoint { get; init; }
Internal\NamedPipeConnection.cs (1)
37NamedPipeEndPoint endPoint,
Internal\NamedPipeConnectionListener.cs (4)
21private readonly NamedPipeEndPoint _endpoint; 35NamedPipeEndPoint endpoint, 185private readonly NamedPipeEndPoint _endpoint; 189public NamedPipeServerStreamPoolPolicy(NamedPipeEndPoint endpoint, NamedPipeTransportOptions options)
Internal\NamedPipeTransportFactory.cs (2)
39if (endpoint is not NamedPipeEndPoint namedPipeEndPoint) 72return endpoint is NamedPipeEndPoint;
Microsoft.AspNetCore.SignalR.Core (1)
src\aspnetcore\src\Shared\ConnectionEndpointTags.cs (1)
79else if (localEndpoint is NamedPipeEndPoint namedPipeEndPoint)