David Fowler
12649b19bf
Revert "React to hosting changes"
...
This reverts commit f48bd8d185 .
2016-12-13 23:56:10 -08:00
David Fowler
f48bd8d185
React to hosting changes
2016-12-13 23:03:20 -08:00
moozzyk
46cf13b2fc
Hub connection tests
2016-12-09 11:43:49 -08:00
moozzyk
d3e625c985
End-to-end browser tests
2016-12-09 11:36:56 -08:00
Pawel Kadluczka
2b918b8fe2
Removing type name from hub method name ( #63 )
2016-12-06 11:17:00 -08:00
David Fowler
5f3c1060ab
Clean up shutdown management ( #59 )
...
* Clean up shutdown management
- ConnectionManager now implements IApplicationEvents. It makes testing cleaner
but makes service registration a little messy.
* Cleaned up service registration and layering a bit
- Added SocketsApplicationLifetimeEvents instead of implementing it
on ConnectionManager directly.
- Exposed ConnectionManager.CloseConnections()
2016-12-05 22:07:19 -08:00
BrennanConroy
28e3c8331b
Dispose Hubs from ActivatorUtilities
2016-12-05 15:40:01 -08:00
moozzyk
e6b34fdce3
Renaming RpcConnection to HubConnection
2016-11-29 16:03:56 -08:00
Russell Seamer
4158dfed8f
add net451 support to signalr.redis
2016-11-29 14:52:44 -08:00
moozzyk
2039a18971
Introducing modules for the ts client
2016-11-29 12:35:33 -08:00
David Fowler
1b59fc6f80
DI enabled Microsoft.AspNetCore.Sockets ( #47 )
...
* DI enabled Microsoft.AspNetCore.Sockets
- Added AddSockets extension method to IServiceCollection
- Inject IApplicationLifetime into ConnectionManager to handle
graceful shutdown and added test.
- Call AddSockets from AddSignalR
* PR feedback
- Added AddSignalR overload that takes Action<SignalROptions>
2016-11-26 23:09:38 -08:00
Andrew Stanton-Nurse
940ccf5c65
add tests to WebSockets transport ( #35 )
...
* add tests to WebSockets transport
* adds some error handling
* make logger factory required
* allow frames to be received after the application closes the output
2016-11-23 11:26:12 -08:00
moozzyk
f0a24720bc
Fixing build
2016-11-16 16:47:53 -08:00
BrennanConroy
35a1c4fae7
Add prefix to redis channel names
2016-11-16 09:58:10 -08:00
David Fowler
4aa65cf0bf
Updated to new System.IO.Pipelines package instead of Channels
2016-11-15 21:46:18 -08:00
Andrew Stanton-Nurse
f3ebe03a0b
fix #32 by handling connection header correctly ( #33 )
2016-11-15 16:22:50 -08:00
Andrew Stanton-Nurse
2431c5925c
integrate Channels-based WebSockets into SignalR ( #28 )
2016-11-15 15:05:45 -08:00
moozzyk
325c909dff
Removing transport fallback in the client
2016-11-14 14:42:53 -08:00
Pranav K
97bf8c3c09
Fix NuGetPackageVerifier issues
2016-11-11 11:44:20 -08:00
moozzyk
10c741b14e
Updating dependency version to fix a 0.3.0 => 1.1.0 upgrade warning
2016-11-11 10:49:54 -08:00
Pranav K
67129b2515
Update dependency versions
2016-11-10 10:27:21 -08:00
David Fowler
48b869f026
Don't hardcoded localhost for redis
...
- It breaks the *nix clients
2016-11-09 02:06:31 -08:00
BrennanConroy
812bffe6d0
Null check for deserialize
2016-11-08 15:41:54 -08:00
Andrew Stanton-Nurse
02c98137c7
install tsc during build ( #17 )
...
fixes #13
2016-11-08 15:31:02 -08:00
Andrew Stanton-Nurse
2de8f98a62
update doc comments on WebSocketConnection
2016-11-08 09:15:58 -08:00
David Fowler
9c592dac50
Builds on non windows
2016-11-08 00:47:09 -08:00
David Fowler
a5d38f4b64
Removed empty array
2016-11-07 23:57:09 -08:00
David Fowler
7d6b247780
Move argument conversion for json into JsonNetInvocationAdapter
2016-11-07 23:55:54 -08:00
David Fowler
d00f1f93b2
Added support for net451 and netstandard1.3
...
- Replaced Task.CompletedTask with TaskCache.CompletedTask
- Updated tests and src
2016-11-07 21:39:19 -08:00
David Fowler
239999e4c9
Make things actually work ( #10 )
...
- Added build.cmd
- Renamed the solution to match our conventions
- Fixed bad doc comment references
- Used strong name version of StackExchange.Redis
2016-11-07 20:58:41 -08:00
Andrew Stanton-Nurse
dfa9c927b7
clean up project.jsons and NuGet.config ( #9 )
...
* clean up project.jsons and NuGet.config
* clean up netstandard references
* clean up netstandard tfm
* change WebSockets descriptions
2016-11-07 14:00:41 -08:00
Andrew Stanton-Nurse
d299cc9186
apply license headers
2016-11-07 12:00:04 -08:00
David Fowler
217223e636
Generics overload
...
- Changed IHubConnectionContext and friends to be generic.
- Hub by default is Hub<IClientProxy>. We'll enable dynamic and arbitrary TClients in another commit.
2016-11-05 10:53:54 -07:00
David Fowler
9c10b89fa8
Small tweaks to sample
...
- Fix redis issues with removing while
- Use string interpolation in the Chat hub
2016-11-04 01:50:55 -07:00
David Fowler
6b3d9bd96d
Added group messaging to the sample
...
- Clean up some boiler plate
- Renamed Add/Remove on GroupManager to AddAsync and RemoveAsync
2016-11-04 01:28:49 -07:00
David Fowler
6ccc8d6195
Remove params from HubLifetimeManager
2016-11-04 00:37:04 -07:00
David Fowler
23eb8aa7bd
More redis tweaks
...
- Implemented the task queue
- Only subscribe to user channel if authenticated
2016-11-03 21:07:04 -07:00
BrennanConroy
ed41672381
Implemented better Redis scaleout
...
- Less subscriptions and connections to RedisHubLifetimeManager
2016-11-03 19:03:44 -07:00
BrennanConroy
dbd738726a
Remove unused usings
2016-11-03 15:00:13 -07:00
BrennanConroy
60bc57fb8d
Fix redis subscriptions and missing awaits
2016-11-03 14:58:27 -07:00
David Fowler
b114e4e9fd
Get rid of RpcEndpoint and samples
...
- Merge RpcEndpoint and HubEndPoint, still need to move discovery of hub
methods to another class.
2016-11-03 00:17:01 -07:00
David Fowler
f51fcadeb1
Dispose the ConnectionManager on application shutdown
2016-11-02 23:14:12 -07:00
Pawel Kadluczka
8d03c014fb
Fixing invocation results for tasks whose result is `VoidTaskResult`
2016-11-02 22:52:52 -07:00
David Fowler
5f23231d9b
Make ConnectionMetadata object,object dictionary
2016-11-02 22:30:16 -07:00
David Fowler
0e690d636f
Remove casts where possible
2016-11-02 22:17:03 -07:00
David Fowler
7db1eb8f25
Add Async suffix to everything
2016-11-02 22:02:29 -07:00
David Fowler
a175609bb1
Start transport before endpoint
2016-11-02 21:28:05 -07:00
David Fowler
b6f15338eb
Cleanup and shuffling things
...
- Moved the InvocationAdapterRegistry registration to SignalROptions
- Moved the JsonNetInvocationAdapter to Microsoft.AspNetCore.SignalR
- Remove dead JavaScript code
2016-11-02 20:54:58 -07:00
David Fowler
8dd61250f4
Fix the projects
...
- Fixed dependencies
- Fixed NS dependency
2016-11-02 18:50:57 -07:00
moozzyk
2bbca5e7fe
Adding error handling
...
Fixing SSE transport on the server
2016-11-02 17:09:11 -07:00