Commit Graph

99 Commits

Author SHA1 Message Date
BrennanConroy 0e70c7950b Adding Redis Unit tests (#1013) 2017-10-17 15:48:29 -07:00
David Fowler 2adf24d1c6 Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-25 23:44:25 -07:00
David Fowler 9df8d2f795 Remove the params argument from IClientProxy (#946)
* Remove the params argument from IClientProxy
- This allows passing arrays without having to explicitly ToArray() or AsEnumerable()
- Added overloads up to 10 arguments
- Added tests
2017-09-25 21:01:52 -07:00
Pawel Kadluczka 8743723ece Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-21 23:00:20 -07:00
Pawel Kadluczka 4db78685dc camelCasing objects serialized by JsonHubProtocol
Fixes: #859
2017-09-21 22:58:59 -07:00
moozzyk 9ecb6d1d58 Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-21 08:31:53 -07:00
Pawel Kadluczka 20d4d70cc7 lowercasing event names 2017-09-20 18:19:02 -07:00
Pawel Kadluczka b40578b89b Moving versions to alpha2 2017-09-15 12:11:53 -07:00
Pawel Kadluczka a267e86e1f Adding the 'final' suffix to version 2017-09-14 09:49:06 -07:00
Pawel Kadluczka 72568acff0 Appending version to browser javascript file names 2017-09-13 09:17:13 -07:00
Nate McMaster d3ae3abe2a Use PackageLineup to manage PackageReference versions 2017-09-01 16:34:32 -07:00
Pawel Kadluczka 521eed1438 Renaming Microsoft.AspNetCore.SignalR.Http to Microsoft.AspNetCore.SignalR 2017-08-31 10:10:02 -07:00
Nate McMaster 9c0dc52d67 Use Directory.Build.props/targets 2017-08-29 10:17:20 -07:00
Pawel Kadluczka bc980c45bb Updating samples 2017-08-23 16:11:47 -07:00
Mikael Mengistu d469cc3151 Clients Subset - AllExcept (#700) 2017-08-22 17:33:27 -07:00
Mikael Mengistu ec09268698 Add using for presence in chat sample (#727) 2017-08-17 09:49:23 -07:00
Ryan Brandenburg 1b272f6d55 Remove NETStandard.Library.NETFramework 2017-07-07 10:29:08 -07:00
David Fowler de21ce1637 Expose IGroupManager on IHubContext (#638)
- Adding groups is no longer coupled to the incoming connection
so we should expose it outside of the hub itself.
2017-07-05 23:50:54 -07:00
Mikael Mengistu cfaa4b69d7 Dynamic Hub Work Part 1 (#636)
Getting rid of TClient
2017-07-05 22:55:16 -07:00
David Fowler f21f5039b2 Replace ConnectionContext with HubConnectionContext (#629)
* Replace ConnectionContext with HubConnectionContext
- The SocketDelegate implementation owns the transport pipe,
it's a single producer single consumer model. SignalR needs to support
multiple producers so that broadcast, return values and sending to individual
connections works. This change introduces a multi producer channel that is used
by all producers to copy data to the transport safely. This will make the move
to pipelines easier.
2017-07-03 17:44:28 -07:00
Hao Kung dbc5bf9a48 Switch to new auth API 2017-07-03 11:52:40 -07:00
David Fowler ef0a46fcc4 Revert "Pin Roslyn compiler version (#597)"
This reverts commit cf7d2b4c40.
2017-06-27 22:43:13 -07:00
BrennanConroy cf7d2b4c40 Pin Roslyn compiler version (#597) 2017-06-27 22:22:46 -07:00
David Fowler d169b96d2d Decouple IConnection.ts and HubConnection.ts from http (#566)
* Decouple IConnection.ts and HubConnection.ts from http
- Removed TransportType from start
- Renamed Connection.ts to HttpConnection.ts
2017-06-16 06:54:55 +02:00
Kiran Challa ec02907af1 Fixed version of netstandard.library and removed stale package 2017-06-15 07:24:30 -07:00
Mikael Mengistu 27979d835f Clean up GroupManager (#542) 2017-06-08 17:06:41 -07:00
Pavel Krymets c845b07b56 Merge remote-tracking branch 'origin/rel/2.0.0-preview2' into dev 2017-06-07 14:29:28 -07:00
Pavel Krymets a9ca4aeeb2 React to logging changes 2017-06-07 14:27:30 -07:00
David Fowler 0bbe42a912 Unbreak the chat sample 2017-06-07 01:02:53 -07:00
Mikael Mengistu 680c48d584 Change Group Add and Remove API (#522) 2017-06-06 21:50:34 -04:00
Pawel Kadluczka 1ae4d3e042 Fixing typos (#519) 2017-06-06 16:55:10 -07:00
BrennanConroy 4c4be7ed6f Add support for Hub Authorize Attribute (#532) 2017-06-06 15:46:08 -07:00
David Fowler b77f50a99a Merge DefaultConnectionContext with ConnectionState (#514)
* Merge DefaultConnectionContext with ConnectionState
- Removed ConnectionState as a result
2017-06-03 12:14:01 -10:00
Pavel Krymets 12fb3de3a6 React to AddConfiguration argument change 2017-06-02 15:03:55 -07:00
Mikael Mengistu b862d35b10 Update Targets (#486) 2017-05-26 20:00:12 -04:00
Hao Kung 3f36fa5986 Fix sample 2017-05-24 12:56:54 -07:00
Brice Lambson 4e7110e442 React to EF API changes 2017-05-24 12:14:56 -07:00
BrennanConroy 2edc77cd9b React to EF API changes 2017-05-24 11:23:02 -07:00
David Fowler d55ebfeee0 Split http and non-http layers (#487)
* Split http and non-http layers
- This change introduces Microsoft.AspNetCore.SignalR.Http
and Microsoft.AspNetCore.Sockets.Http which expose extension methods
on IAppBuilder for wiring up a sockets and signalr pipeline.
2017-05-24 07:09:46 -07:00
Hao Kung a31c693178 React to identity 2017-05-23 14:11:26 -07:00
David Fowler 9d9a52119e Progress towards splitting the layers (#473)
* Progress towards splitting the layers
- This is based on the work anurse did in anurse/endpoint-middleware-spike to
introduce a connection middleware pipeline that mimics much of our http
pipeline. The intent is that this layer will be generic enough to build both
SignalR and Kestrel on top of but we're not there yet. This change makes incremental
progress towards splitting apart sockets and http so that we can add the tcp transport
without breaking everything all at once.
- Created Microsoft.AspNetCore.Sockets.Abstractions where the primitives for
sockets live. That includes, ConnectionContext (formerly Connection), EndPoint,
ISocketBuilder, SocketDelegate, etc.
- ConnectionContext isn't in it's final form as yet, it still very closely mirrors
the original Connection object we had so that tests continue to pass.
- The HttpConnectionDispatcher doesn't know about EndPoint anymore, it just cares
about invoking the SocketDelegate.
- EndPointOptions has been removed as part of this change as it coupled http specific configuration
to the end point type. There's a new HttpSocketOptions that needs to be passed into MapSocket calls.
- Updated the tests to deal with the API changes.
2017-05-23 02:43:32 -07:00
David Fowler 87c4da41e8 Disabling hosting startup
- VS injects a bad version of AppInsights because it doesn't
check the shared framework version in use. Since we constantly
are on the bleeding edge, we get out of sync frequently. This
change disables them from running.
2017-05-21 16:46:47 -07:00
David Fowler 2aabce48b4 Remove custom routing and path matching from HttpConnectionDispatcher (#471)
- We're now using the routing system in a very vanilla way now that
we're not using the URL space as part of the protocol.
- Removed the path argument from the HttpConnectionDispatcher (simplifies code and removes duplication from tests)
2017-05-20 00:34:29 -07:00
Pawel Kadluczka 8b455ecae7 Fixing `dotnet ef database update`
Currently it is impossible to create database for the chat sample - `dotnet ef` commands fail with: "No parameterless constructor was found on 'ApplicationDbContext'. Either add a parameterless constructor to 'Application
DbContext' or add an implementation of 'IDbContextFactory<ApplicationDbContext>' in the same assembly as 'ApplicationDbC
ontext'." - adding IDbContextFactory implementation to fix this

Also disabling Redis presence in favor of in-memory presence
2017-05-15 14:57:07 -07:00
Pawel Kadluczka 06e3a08ac0 Multi-server 2017-05-11 22:42:14 -07:00
Pawel Kadluczka 7300413d0c Storing user lists per server 2017-05-11 22:42:14 -07:00
Pawel Kadluczka 5d32407f24 More structural way of storing users 2017-05-11 22:42:14 -07:00
BrennanConroy e96096e760 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-03 10:39:46 -07:00
BrennanConroy 0a3c7001d4 React to Logging API changes (#433) 2017-05-03 10:39:29 -07:00
Pawel Kadluczka cf2d6ce697 Redis presence manager 2017-05-01 16:35:27 -07:00