Permalink
Browse files

Updated SignalR.Reactive to work with the latest SignalR.0.5.0 versio…

…n from nuget
  • Loading branch information...
1 parent 4dfd26e commit cacdc4728e3386487ee8692a848ad2652488dcdf @cburgdorf committed May 11, 2012
Showing with 35,537 additions and 7,636 deletions.
  1. BIN SignalR.Reactive/Libraries/SignalR.Hosting.AspNet.dll
  2. BIN SignalR.Reactive/Libraries/SignalR.Hosting.AspNet.pdb
  3. BIN SignalR.Reactive/Libraries/SignalR.Hosting.Common.dll
  4. BIN SignalR.Reactive/Libraries/SignalR.Hosting.Common.pdb
  5. BIN SignalR.Reactive/Libraries/SignalR.dll
  6. BIN SignalR.Reactive/Libraries/SignalR.pdb
  7. +917 −0 SignalR.Reactive/SignalR.Reactive.Demo/Scripts/jquery.signalR-0.5.0.js
  8. +9 −0 SignalR.Reactive/SignalR.Reactive.Demo/Scripts/jquery.signalR-0.5.0.min.js
  9. +14 −5 SignalR.Reactive/SignalR.Reactive.Demo/SignalR.Reactive.Demo.csproj
  10. +8 −2 SignalR.Reactive/SignalR.Reactive.Demo/packages.config
  11. +0 −1 SignalR.Reactive/SignalR.Reactive/ClientsideConstants.cs
  12. +4 −4 SignalR.Reactive/SignalR.Reactive/RxHelper.cs
  13. +16 −6 SignalR.Reactive/SignalR.Reactive/SignalR.Reactive.csproj
  14. +5 −0 SignalR.Reactive/SignalR.Reactive/packages.config
  15. BIN ...Reactive/packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg
  16. BIN ...Reactive/packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll
  17. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/Newtonsoft.Json.4.0.8.nupkg
  18. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.dll
  19. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/net20/Newtonsoft.Json.pdb
  20. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.dll
  21. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/net35/Newtonsoft.Json.pdb
  22. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.dll
  23. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/net40/Newtonsoft.Json.pdb
  24. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.dll
  25. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/sl3-wp/Newtonsoft.Json.pdb
  26. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.dll
  27. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/sl4-windowsphone71/Newtonsoft.Json.pdb
  28. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.dll
  29. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.0.8/lib/sl4/Newtonsoft.Json.pdb
  30. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/Newtonsoft.Json.4.5.5.nupkg
  31. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/net20/Newtonsoft.Json.dll
  32. +8,181 −0 SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/net20/Newtonsoft.Json.xml
  33. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/net35/Newtonsoft.Json.dll
  34. +952 −639 .../packages/{Newtonsoft.Json.4.0.8/lib/net40 → Newtonsoft.Json.4.5.5/lib/net35}/Newtonsoft.Json.xml
  35. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/net40/Newtonsoft.Json.dll
  36. +1,273 −1,435 .../packages/{Newtonsoft.Json.4.0.8/lib/net20 → Newtonsoft.Json.4.5.5/lib/net40}/Newtonsoft.Json.xml
  37. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/sl3-wp/Newtonsoft.Json.dll
  38. +3,042 −3,027 ...packages/{Newtonsoft.Json.4.0.8/lib/net35 → Newtonsoft.Json.4.5.5/lib/sl3-wp}/Newtonsoft.Json.xml
  39. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/sl4-windowsphone71/Newtonsoft.Json.dll
  40. +579 −156 ...tonsoft.Json.4.0.8/lib/sl3-wp → Newtonsoft.Json.4.5.5/lib/sl4-windowsphone71}/Newtonsoft.Json.xml
  41. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/sl4/Newtonsoft.Json.dll
  42. +579 −164 ...alR.Reactive/packages/{Newtonsoft.Json.4.0.8 → Newtonsoft.Json.4.5.5}/lib/sl4/Newtonsoft.Json.xml
  43. BIN SignalR.Reactive/packages/Newtonsoft.Json.4.5.5/lib/winrt45/Newtonsoft.Json.dll
  44. +1,577 −911 ...onsoft.Json.4.0.8/lib/sl4-windowsphone71 → Newtonsoft.Json.4.5.5/lib/winrt45}/Newtonsoft.Json.xml
  45. BIN SignalR.Reactive/packages/SignalR.0.5.0/SignalR.0.5.0.nupkg
  46. BIN SignalR.Reactive/packages/SignalR.Hosting.AspNet.0.5.0/SignalR.Hosting.AspNet.0.5.0.nupkg
  47. +109 −0 SignalR.Reactive/packages/SignalR.Hosting.AspNet.0.5.0/lib/net40/SignalR.Hosting.AspNet.XML
  48. BIN SignalR.Reactive/packages/SignalR.Hosting.AspNet.0.5.0/lib/net40/SignalR.Hosting.AspNet.dll
  49. BIN SignalR.Reactive/packages/SignalR.Hosting.Common.0.5.0/SignalR.Hosting.Common.0.5.0.nupkg
  50. +66 −0 SignalR.Reactive/packages/SignalR.Hosting.Common.0.5.0/lib/net40/SignalR.Hosting.Common.XML
  51. BIN SignalR.Reactive/packages/SignalR.Hosting.Common.0.5.0/lib/net40/SignalR.Hosting.Common.dll
  52. BIN SignalR.Reactive/packages/SignalR.Js.0.5.0/SignalR.Js.0.5.0.nupkg
  53. +917 −0 SignalR.Reactive/packages/SignalR.Js.0.5.0/content/Scripts/jquery.signalR-0.5.0.js
  54. +9 −0 SignalR.Reactive/packages/SignalR.Js.0.5.0/content/Scripts/jquery.signalR-0.5.0.min.js
  55. BIN SignalR.Reactive/packages/SignalR.Server.0.5.0/SignalR.Server.0.5.0.nupkg
  56. +1,174 −0 SignalR.Reactive/packages/SignalR.Server.0.5.0/lib/net40/SignalR.XML
  57. BIN SignalR.Reactive/packages/SignalR.Server.0.5.0/lib/net40/SignalR.dll
  58. +0 −19 SignalR.Reactive/packages/jQuery.1.5.1/Content/Scripts/jquery-1.5.1.min.js
  59. BIN SignalR.Reactive/packages/jQuery.1.5.1/jQuery.1.5.1.nupkg
  60. +7,024 −0 SignalR.Reactive/packages/jQuery.1.6.4/Content/Scripts/jquery-1.6.4-vsdoc.js
  61. +1,988 −1,267 ...ges/{jQuery.1.5.1/Content/Scripts/jquery-1.5.1.js → jQuery.1.6.4/Content/Scripts/jquery-1.6.4.js}
  62. +4 −0 SignalR.Reactive/packages/jQuery.1.6.4/Content/Scripts/jquery-1.6.4.min.js
  63. +20 −0 SignalR.Reactive/packages/jQuery.1.6.4/Tools/install.ps1
  64. +7,024 −0 SignalR.Reactive/packages/jQuery.1.6.4/Tools/jquery-1.6.4-vsdoc-para.js
  65. +46 −0 SignalR.Reactive/packages/jQuery.1.6.4/Tools/uninstall.ps1
  66. BIN SignalR.Reactive/packages/jQuery.1.6.4/jQuery.1.6.4.nupkg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
@@ -35,12 +35,21 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
- <Reference Include="Newtonsoft.Json">
- <HintPath>..\packages\Newtonsoft.Json.4.5.1\lib\net40\Newtonsoft.Json.dll</HintPath>
+ <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+ <Private>True</Private>
+ <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
- <Reference Include="SignalR, Version=0.4.0.0, Culture=neutral, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\Libraries\SignalR.dll</HintPath>
+ <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
+ <HintPath>..\packages\Newtonsoft.Json.4.5.5\lib\net40\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ <Reference Include="SignalR, Version=0.5.96.10509, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\SignalR.Server.0.5.0\lib\net40\SignalR.dll</HintPath>
+ </Reference>
+ <Reference Include="SignalR.Hosting.AspNet, Version=0.5.96.10509, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\SignalR.Hosting.AspNet.0.5.0\lib\net40\SignalR.Hosting.AspNet.dll</HintPath>
+ </Reference>
+ <Reference Include="SignalR.Hosting.Common, Version=0.5.96.10509, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\SignalR.Hosting.Common.0.5.0\lib\net40\SignalR.Hosting.Common.dll</HintPath>
</Reference>
<Reference Include="System.Data.Entity" />
<Reference Include="System.Reactive, Version=1.0.10621.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
@@ -1,9 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EntityFramework" version="4.1.10331.0" />
- <package id="jQuery" version="1.5.1" />
+ <package id="jQuery" version="1.6.4" />
<package id="jQuery.UI.Combined" version="1.8.18" />
+ <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
<package id="Modernizr" version="1.7" />
- <package id="Newtonsoft.Json" version="4.0.8" />
+ <package id="Newtonsoft.Json" version="4.5.5" />
<package id="Rx-Main" version="1.0.11226" />
+ <package id="SignalR" version="0.5.0" />
+ <package id="SignalR.Hosting.AspNet" version="0.5.0" />
+ <package id="SignalR.Hosting.Common" version="0.5.0" />
+ <package id="SignalR.Js" version="0.5.0" />
+ <package id="SignalR.Server" version="0.5.0" />
</packages>
@@ -7,7 +7,6 @@ namespace SignalR.Reactive
{
public static class ClientsideConstants
{
- public const string OnNextMethodName = "subjectOnNext";
public const string OnNextType = "onNext";
public const string OnErrorType = "onError";
public const string OnCompletedType = "onCompleted";
@@ -12,7 +12,7 @@ public static class RxHelper
public static dynamic GetHubClients<THub>() where THub : Hub, new()
{
var connectionManager = DependencyResolverContext.Instance.Resolve<IConnectionManager>();
- return connectionManager.GetClients<THub>();
+ return connectionManager.GetHubContext<THub>().Clients;
}
public static dynamic GetHubClients<THub>(string clientName) where THub : Hub, new()
@@ -45,17 +45,17 @@ public static void WithClient<THub>(string clientName, Action<dynamic> continueW
public static void RaiseOnNext<T>(string eventName, dynamic clients, T payload)
{
- clients.Invoke(ClientsideConstants.OnNextMethodName, new { Data = payload, EventName = eventName, Type = ClientsideConstants.OnNextType});
+ clients.subjectOnNext(new { Data = payload, EventName = eventName, Type = ClientsideConstants.OnNextType });
}
public static void RaiseOnError(string eventName, dynamic clients, Exception payload)
{
- clients.Invoke(ClientsideConstants.OnNextMethodName,new { Data = payload, EventName = eventName, Type = ClientsideConstants.OnErrorType});
+ clients.subjectOnNext(new { Data = payload, EventName = eventName, Type = ClientsideConstants.OnErrorType });
}
public static void RaiseOnCompleted(string eventName, dynamic clients)
{
- clients.Invoke(ClientsideConstants.OnNextMethodName, new { EventName = eventName, Type = ClientsideConstants.OnCompletedType});
+ clients.subjectOnNext(new { EventName = eventName, Type = ClientsideConstants.OnCompletedType });
}
public static RxHubRaiser<T> RaiseOn<T>() where T : Hub, new()
@@ -31,14 +31,24 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="SignalR">
- <HintPath>..\Libraries\SignalR.dll</HintPath>
+ <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+ <Private>True</Private>
+ <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
- <Reference Include="SignalR.Hosting.AspNet">
- <HintPath>..\Libraries\SignalR.Hosting.AspNet.dll</HintPath>
+ <Reference Include="Newtonsoft.Json">
+ <HintPath>..\packages\Newtonsoft.Json.4.5.5\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
- <Reference Include="SignalR.Hosting.Common">
- <HintPath>..\Libraries\SignalR.Hosting.Common.dll</HintPath>
+ <Reference Include="SignalR, Version=0.5.96.10509, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\SignalR.Server.0.5.0\lib\net40\SignalR.dll</HintPath>
+ </Reference>
+ <Reference Include="SignalR.Hosting.AspNet, Version=0.5.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\SignalR.Hosting.AspNet.0.5.0\lib\net40\SignalR.Hosting.AspNet.dll</HintPath>
+ </Reference>
+ <Reference Include="SignalR.Hosting.Common, Version=0.5.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\SignalR.Hosting.Common.0.5.0\lib\net40\SignalR.Hosting.Common.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
+ <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
+ <package id="Newtonsoft.Json" version="4.5.5" />
<package id="Rx-Main" version="1.0.11226" />
+ <package id="SignalR.Hosting.AspNet" version="0.5.0" />
+ <package id="SignalR.Hosting.Common" version="0.5.0" />
+ <package id="SignalR.Server" version="0.5.0" />
</packages>
Oops, something went wrong.

0 comments on commit cacdc47

Please sign in to comment.