A reusable win32 API for connect any client to server or each other clients. Send data or code from one client to other clients included.
If you want to install or unistall a service for signalR server or just run the server without installing, do following commands:
-
Install signalR service:
$ SignalR\Out\SignalR\Core.Server\SignalRServer.exe /i
or
$ SignalR\Solution Items\InstallSignalRService.bat
-
Uninstall signalR service:
$ SignalR\Out\SignalR\Core.Server\SignalRServer.exe /u
or
$ SignalR\Solution Items\UninstallSignalRService.bat
-
Delete signalR service:
$ SignalR\Solution Items\DeleteSignalRService.bat
-
Execute signalR server (without install service):
$ SignalR\Out\SignalR\Core.Server\SignalRServer.exe /d
or
$ SignalR\Solution Items\RunServiceOnWPF.bat
A sample project in win32 for present signalR client
The clients controller in fact is a signalR client, but this project can be controll all signalR clients in network.
In this application you can fetch any events of server from server windows logs by clicking on Show Server Event Logs
And by selecting one client in from list you can to control that by this form:
In Control User
form you can to send a message to selected users or execute an stored procedure on that clients.
By click on Custom Procedure
you should see this form:
In Runtime Dynamic Compiler
form you can type your c# codes to executed on selected users system.
For create your custom projects you must to know this package locations:
Install Nuget packages for server project:
PM> Install-Package Microsoft.AspNet.SignalR.SelfHost
PM> Install-Package Microsoft.Owin.Cors
Install Nuget packages for clients project:
PM> Install-Package Microsoft.AspNet.SignalR.Client