client with a clean WebSocket protocol for the Asp net core signalR server.
Hello, I started to try the Aspnet core signalR server.
For this server I wrote 2 clients: a javaScript client from the web of the country and a desktop WinForms client. For this bundle, everything works well.
// Конфигурация проекта сервера: <Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>netcoreapp2.0</TargetFramework> </PropertyGroup> <ItemGroup> <Folder Include="wwwroot\Js\" /> </ItemGroup> <ItemGroup> <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.6" /> <PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.0.0-preview1-final" /> </ItemGroup> </Project> // Конфигурация проекта javaScript клиента для signalR: { "version": "1.0.0", "name": "signalrapp", "private": true, "dependencies": { "@aspnet/signalr": "^1.0.0-preview1-update1" } } // Конфигурация проекта WinForms (.NET461) клиентадля signalR: ... Куча зависимостей для .net core <package id="Microsoft.AspNetCore.SignalR.Client" version="1.0.0-preview1-final" targetFramework="net462" /> <package id="Microsoft.AspNetCore.SignalR.Client.Core" version="1.0.0-preview1-final" targetFramework="net462" /> <package id="Microsoft.AspNetCore.SignalR.Common" version="1.0.0-preview1-final" targetFramework="net462" /> There was a need to connect another 1 client that uses WebSocket and is written in Java !!!!!. I wanted to emulate a Java client, writing roughly the same on C # WinForms (.NET461), only using a non-SignalR library, but a clean webSocket. Whether prompt it is possible to use the client with pure WebSocet for the SignalR server and what is needed for this? for example, we register a separate hub that writes and reads a byte array in stream WebSocet. (without calling RPC methods, as in signalR).
I also heard about centrifugo. Maybe there are some similar cross-platform services that run in the background (for example, as a RabbitMq service) and provide communication. Thank you in advance !!