Skip to content

bezzad/SignalR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignalR

Build status GitHub license GitHub license

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.


SignalR Server

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

    wpfServer


SignalR Clients

A sample project in win32 for present signalR client

clients

SignalR Clients Controller

The clients controller in fact is a signalR client, but this project can be controll all signalR clients in network.

For e.x: clientsController

In this application you can fetch any events of server from server windows logs by clicking on Show Server Event Logs logViewer

And by selecting one client in from list you can to control that by this form: ControlUser

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: dynamicCodeExec

In Runtime Dynamic Compiler form you can type your c# codes to executed on selected users system.


Note

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

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published