You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/grpc/interprocess-namedpipes.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ author: jamesnk
4
4
description: Learn how to use gRPC for inter-process communication with Named pipes.
5
5
monikerRange: '>= aspnetcore-8.0'
6
6
ms.author: wpickett
7
-
ms.date: 01/18/2023
7
+
ms.date: 07/01/2025
8
8
uid: grpc/interprocess-namedpipes
9
9
---
10
10
# Inter-process communication with gRPC and Named pipes
@@ -47,6 +47,46 @@ The preceding example:
47
47
* Calls `ListenNamedPipe` to listen to a named pipe with the specified name.
48
48
* Creates a named pipe endpoint that isn't configured to use HTTPS. For information about enabling HTTPS, see [Kestrel HTTPS endpoint configuration](xref:fundamentals/servers/kestrel/endpoints#listenoptionsusehttps).
49
49
50
+
### Configuring PipeSecurity for Named Pipes
51
+
52
+
To customize the security of the named pipe, for example, to control which users or groups can connect, use the [`NamedPipeTransportOptions`](xref:Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.NamedPipeTransportOptions) class. This allows you to specify a custom [`PipeSecurity`](xref:System.IO.Pipes.PipeSecurity) object.
*Grantsread/writeaccesstothe `Users` group. Additionalsecurityrulescanbeaddedasneededfor the scenario.
89
+
50
90
## Client configuration
51
91
52
92
`GrpcChannel` supports making gRPC calls over custom transports. When a channel is created, it can be configured with a <xref:System.Net.Http.SocketsHttpHandler> that has a custom <xref:System.Net.Http.SocketsHttpHandler.ConnectCallback>. The callback allows the client to make connections over custom transports and then send HTTP requests over that transport.
0 commit comments