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
Pranav K
59bd827458
* Remove dotnet-corefxlab feed
...
* Fix SocialWeather so that it restores as part of test runs.
2016-11-21 10:01:32 -08:00
Mikael Mengistu
1a29ddb9de
Fix EF dependencies in chat sample
2016-11-17 16:16:43 -08:00
David Fowler
4aa65cf0bf
Updated to new System.IO.Pipelines package instead of Channels
2016-11-15 21:46:18 -08:00
moozzyk
357f5f85bb
Minor cleanup
2016-11-15 10:39:55 -08:00
Pawel Kadluczka
b865716841
Displaying actual date
2016-11-15 10:39:54 -08:00
moozzyk
81ddada76b
Moving Pipe formatter to a subfolder
2016-11-15 10:39:52 -08:00
moozzyk
f3dfb62af9
Adding protobuf formatter
2016-11-15 10:39:51 -08:00
Pawel Kadluczka
7d67629245
Adding pipe formatter + some clean up
2016-11-15 10:39:48 -08:00
Pawel Kadluczka
b5cef59448
Fixing
...
- infinite loop when a client disconnects
- enum values serialization
Replacing reports div with a table
2016-11-15 10:39:46 -08:00
Pawel Kadluczka
08cd20f1a0
Fixing namespace
2016-11-15 10:39:45 -08:00
Pawel Kadluczka
41c4211c6b
Renaming folder
2016-11-15 10:39:44 -08:00
Pawel Kadluczka
098347adde
Making UI functional
2016-11-15 10:39:42 -08:00
Pawel Kadluczka
04fede0436
Adding pluggable formatters
2016-11-15 10:39:41 -08:00
moozzyk
1694f2b791
WIP
2016-11-15 10:39:40 -08:00
moozzyk
325c909dff
Removing transport fallback in the client
2016-11-14 14:42:53 -08:00
Pranav K
51d4e11e6f
Fix more versions
2016-11-11 09:17:22 -08:00
BrennanConroy
af80d4493e
Remove Database EnsureCreated
2016-11-09 14:13:15 -08:00
BrennanConroy
cb0aa63a43
UserName and minor fixups for ChatSample
2016-11-09 10:55:23 -08:00
David Fowler
47a5f2ad07
Remove site.min.css from source control to reduce noise
2016-11-08 01:02:24 -08:00
David Fowler
9c592dac50
Builds on non windows
2016-11-08 00:47:09 -08:00
Andrew Stanton-Nurse
d299cc9186
apply license headers
2016-11-07 12:00:04 -08: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
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
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
BrennanConroy
019bb460ec
Clean up and TS client
2016-11-02 18:35:12 -07:00
BrennanConroy
5434d437e9
Added ChatSample
2016-11-02 17:33:48 -07:00
moozzyk
3065c8db93
minor fixes
2016-11-02 17:09:11 -07:00
moozzyk
2bbca5e7fe
Adding error handling
...
Fixing SSE transport on the server
2016-11-02 17:09:11 -07:00
moozzyk
ce17f0d19a
Adding transport selection
...
Fixing serverSentEvents transport
Updating the client 'app'
2016-11-02 17:09:11 -07:00
moozzyk
466c8d9db9
Adding ServerSentEvents
2016-11-02 17:09:11 -07:00
moozzyk
181053e876
Adding longpolling
2016-11-02 17:09:11 -07:00
moozzyk
6859d33536
ts-client WebSockets + JSON
2016-11-02 17:09:11 -07:00
David Fowler
0f863be588
Renamed JsonInvocationAdapter to JsonNetInvocationAdapter
2016-11-02 08:54:42 -07:00
David Fowler
9e7513a7bd
Added UseSignalR
2016-11-02 03:20:44 -07:00
David Fowler
377711f68c
Changes to redis and groups
...
- Made group add and removal async as they may be backed by a network
connection
- Added ISignalRBuilder and a pattern similar to mvc for doing extension methods off
AddSignalR
- Added RedisOptions
2016-11-02 02:29:04 -07:00
David Fowler
40039afd4f
Make a SignalR project and SignalR.Redis project
...
- Moved RPC into SignalR for now since we don't have a middle layer yet.
- Fixed up name spaces
2016-11-02 01:49:05 -07:00
David Fowler
915ebbda6b
Get rid of pub sub abstraction and add redis impl
2016-11-02 01:21:51 -07:00
David Fowler
4221db3890
Some cleanup and error checking
...
- Dispose hubs after invoke
2016-11-01 23:27:49 -07:00
David Fowler
53858495dc
Hubs are more fleshed out ( #11 )
...
- `HubEndPoint<T>` : `RpcEndPoint<T>` where T is the Hub type. Optimizing for a single hub per connection here.
- Hubs get OnConnectedAsync and OnDisconnectedAsync methods that are invoked at the right time and with the right scope.
- Introduced HubLifetimeManager<THub> (naming TBD) which is the center of the universe for Hub behaviors.
2016-11-01 23:15:31 -07:00
David Fowler
50e5827414
Add HubCallerContext to Hub
...
- Flow the connection id and user of the caller to the Hub
2016-10-28 10:25:38 -07:00
David Fowler
e59865a11d
Small tweaks
...
- Fixed errros in JS
- Style change in HubEndpoint
2016-10-28 09:41:45 -07:00
moozzyk
ffc0a048e3
Addressing review comments
2016-10-27 09:30:20 -07:00
moozzyk
ca2a471691
Fixing NRE when a client closes connection
2016-10-27 09:30:20 -07:00
moozzyk
fd10deba6c
Removing formatters
2016-10-27 09:30:19 -07:00
moozzyk
a854b13754
Handling custom protobuf types
2016-10-27 09:30:18 -07:00