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?
On the server side (Hub side) just publish an event using the IHubContext
extension method Publish<TEvent>(TEvent @event)
.
Register your event handling method using the IHubProxy
extension method RegisterGenericHandler(Type[] types, object instance, MethodInfo handlerInfo
).
- maybe change the
MemberInfo
parameter type to anExpression
or something... - nuget package
- possibly stole the idea from http://jasondentler.com/blog/2012/02/nservicebus-and-signalr/