AngularJs Example


Connected to entity framework through SignalR

Disconnected

Waiting for connectionId

Connecting to entity framework through SignalR

Messages

_entitySignal.Subscribe<Message>();

{{message | json}}

Messages with odd id

_entitySignal.Subscribe<Message>(x=>x.Id % 2 == 1);

{{filterMessages | json}}

Jokes

_entitySignal.Subscribe<Joke>();

{{joke | json}}

Jokes with guid answer

_entitySignal.Subscribe<Joke>(x => Guid.TryParse(x.Punchline, out Guid g));

{{joke | json}}