/SignalEV

Publishes events from the server to the client in a reasonably strong typed manner using SignalR

Primary LanguageJavaScript

SignalEV

Publishes events from the server to a .NET client (wouldn't really make sense for a javascript client) in a reasonably strong typed manner using SignalR.

The name was kind of derived from SignalR and event. Could be pronounced [SignalEeewww] or [SignalEve]. Doesn't really matter does it?

Using it

Server

On the server side (Hub side) just publish an event using the IHubContext extension method Publish<TEvent>(TEvent @event).

Client

Register your event handling method using the IHubProxy extension method RegisterGenericHandler(Type[] types, object instance, MethodInfo handlerInfo).

TODO

  • maybe change the MemberInfo parameter type to an Expression or something...
  • nuget package

Credits