https://github.com/arsher/signalr-pipe
SignalR Core Named Pipe Transport
https://github.com/arsher/signalr-pipe
dotnet ipc named-pipes namedpipe signalr signalr-core signalrcore
Last synced: 3 months ago
JSON representation
SignalR Core Named Pipe Transport
- Host: GitHub
- URL: https://github.com/arsher/signalr-pipe
- Owner: arsher
- License: apache-2.0
- Created: 2018-12-26T21:14:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T08:32:15.000Z (over 6 years ago)
- Last Synced: 2025-04-03T21:06:41.006Z (6 months ago)
- Topics: dotnet, ipc, named-pipes, namedpipe, signalr, signalr-core, signalrcore
- Language: C#
- Homepage:
- Size: 152 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
# signalr-pipe
[](https://ci.appveyor.com/project/SerfzDvid/signalr-pipe/branch/master)
## Purpose
This is an experimental lib to make use of the connection abstractions in the ASP.NET Core version of SignalR. It aims to implement a named pipe based transport layer to be used as a form of IPC between .NET and/or Node processes.## How to use
This SignalR extension is intended to be used with the [.NET Generic Host](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/generic-host).### Example setup for the server:
```csharp
var host = new HostBuilder()
.UseHostUri(new Uri("signalr.pipe://testhost/"))
.UseSignalR(b =>
{
b.MapHub("/testpath/net");
})
.ConfigureServices(collection =>
{
collection.AddSignalR();
})
.Build();host.Start();
```### Example client
#### .NET
```csharp
var connection = new NamedPipeHubConnectionBuilder()
.WithUri("signalr.pipe://testhost/testpath/net")
.Build();await connection.StartAsync();
```#### NodeJS
```javascript
const hubConnection = new PipeHubConnectionBuilder()
.withUrl("signalr.pipe://testhost/testpath")
.withHubProtocol(protocol)
.build();await hubConnection.start();
```## Releases
### CI Builds
Every commit on master creates a new set of packages:
- [](https://www.myget.org/feed/dserfozo/package/npm/signalr-pipe)
- [](https://www.myget.org/feed/dserfozo/package/nuget/SignalR.Pipes.Common)
- [](https://www.myget.org/feed/dserfozo/package/nuget/SignalR.Pipes)
- [](https://www.myget.org/feed/dserfozo/package/nuget/SignalR.Pipes.Client)### Stable
There is no stable release at this point.