Commit Graph

99 Commits

Author SHA1 Message Date
Pawel Kadluczka 0c8df245de Hiding Channels (#183)
Hiding Channels
2017-02-09 10:31:07 -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
Mikael Mengistu 5def499323 Added Sockets.Common and connection level testing (#173)
*Moved IChannelConnection, ChannelConnection, Format and Message to the new Sockets.Common project.

* Adding Connection level tests.
2017-01-31 14:59:21 -08:00
moozzyk c997ea8165 Converting pipelines to channels 2017-01-26 08:04:58 -08:00
Pranav K 354daa2ded Remove references to RazorTooling from ChatSample 2017-01-20 12:28:38 -08:00
Nate McMaster 3acdb58f57 React to aspnet/Scaffolding#383 2017-01-19 20:45:38 -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 3d5fc9493a Remove format from connect and only use it in /send 2017-01-17 11:32:27 -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
BrennanConroy a9dfd83ff4 Fix EF.Tools version 2017-01-10 14:54:35 -08:00
moozzyk b18606ec8d Fixing chat sample - it was still using fully qualified hub method name 2017-01-10 11:41:47 -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
moozzyk fa0219f75e Updating Social Weather sample to 1.2.0 2017-01-09 08:36:05 -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
Nate McMaster 06b3ed4413 React to aspnet/DotNetTools#211 2016-12-16 17:13:10 -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
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