A downloadable sample for SignalR commanding & toast notifications in LightSwitch
Introduction
I got quite some questions about a working SignalR sample.
Here is one
How?
Server side the SignalR 1.0.0-RC 2 package is installed. If there is trouble with the dlls, inject the nuget package again:
Client side I’m referencing the 2 signalR relevant Dlls from a ReferenceAssemblies folder. If these references are not ok, just link them again manually.
It’s about:
- Microsoft.AspNet.SignalR.Client.dll
- Newtonsoft.Json.dll
I compiled these dlls directly from github.
The toast notifications need the Pixata LightSwitch extension.
Good luck.
Update
Important: No need to use my referenced assemblies. Simply inject in the client side project the SignalR windows Client (it will install the above silverlight dlls)
If you use the downloadable sample, make sure to update also the server nuget package to version 1.0.0 (because this was the release candidate)




Ok lets get started
Your timing is perfect !
Was about to give up
Johan,
Read my update in the post: you can also inject in the client project the correct nuget package.
Your example works for me.
I tried to recreate your example.
-successfully added the package to server
-references to client
-code to application.cs
-and the code behind the button
but, as soon as i run the application =>
Remote server returned an error : NotFound.
[...] A downloadable sample for SignalR commanding & toast notifications in LightSwitch [...]
[...] A downloadable sample for SignalR commanding & toast notifications in LightSwitch [...]