BrennanConroy
485f9595e2
EndPoint options and injection
2017-03-01 14:38:50 -08:00
Nate McMaster
af5e7da478
Remove workarounds and unify dependency versions
2017-02-23 17:09:07 -08:00
Andrew Stanton-Nurse
667095661b
convert the samples to use the official client ( #234 )
2017-02-23 10:56:20 -08:00
Andrew Stanton-Nurse
9767dbd5c1
fix #209 by converting to byte[] ( #229 )
...
* fix #209 by converting to byte[]
2017-02-22 11:50:37 -08:00
moozzyk
76bd114a2f
Preventing from building ts client multiple times
2017-02-21 11:54:39 -08:00
Nate McMaster
f684fcb574
Downgrade to stable packages
2017-02-15 14:23:11 -08:00
Andrew Stanton-Nurse
a728e1da41
Text Protocol Formatter ( #187 )
2017-02-14 16:00:51 -08:00
Andrew Stanton-Nurse
b711128ec2
update MSBuild settings to make samples runnable ( #180 )
2017-02-07 09:39:21 -08:00
Nate McMaster
7281bf90c0
Upgrade to VS 2017 ( #176 )
2017-02-02 12:54:23 -08:00
moozzyk
c997ea8165
Converting pipelines to channels
2017-01-26 08:04:58 -08:00
Andrew Stanton-Nurse
464077866c
rename getid to negotiate ( #124 )
...
* rename getid to negotiate
* also change SSE and Long Polling to require a pre-established connection
* disallow changing transports mid-connection; return a 400 response if the user attempts to do so
2017-01-17 15:45:29 -08:00
BrennanConroy
b3df10b638
Use connections format
2017-01-11 10:07:15 -08:00
David Fowler
cd9ed9228a
Remove streaming transport as a top level API ( #110 )
...
- Remove Streaming* classes from Sockets. The main
API will be channels based and streaming transports
will use the PipelineChannel (formerly FramingChannel) to
access messages.
- Added WriteAsync and ReadAsync to Connection and hid
the IChannelConnection from public API.
- Also fixed the fact that unknown methods caused server side
exceptions.
- Changed the consumption pattern to WaitToReadAsync/TryRead to avoid
exceptions.
- React to API changes
2017-01-11 04:01:49 -08:00
Andrew Stanton-Nurse
d281cb72ea
add "messaging" endpoints and transports
...
* Need a separate set of primitives to handle messaging
* Using Channels (not Pipelines!) to provide the data flow for messaging
* All transports are now "message" based transports
* Added an adaptor to convert message-based transports to serve
streaming endpoints
2017-01-09 16:01:08 -08:00
Chris R
80c5f9be0e
Remove unused WebListener reference
2017-01-03 22:08:24 -08:00
moozzyk
8022afd3a2
Handling exceptions thrown on the server side
...
Addresses: #62
2016-12-26 22:39:48 -08:00
Pranav K
1492b41af0
Updating to 4.4 CoreFx packages
2016-12-21 22:57:01 -08:00
Mikael Mengistu
c665eef66b
Update SocketsSample to use correct method names
2016-12-15 19:26:40 -05:00
Mikael Mengistu
e1d9aa2dd4
Early version of the .NET Client
2016-12-14 10:04:48 -08:00
moozzyk
e6b34fdce3
Renaming RpcConnection to HubConnection
2016-11-29 16:03:56 -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
David Fowler
4aa65cf0bf
Updated to new System.IO.Pipelines package instead of Channels
2016-11-15 21:46:18 -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
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
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
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