Commit Graph

14 Commits

Author SHA1 Message Date
Brennan f2b72b0511
Fix SignalR typescript tests with Chrome SameSite reaction (#25283)
* Fix Typescript tests
* fixup
2020-08-26 14:23:01 -07:00
Brennan e00a7c4d52
Increase logging in TS functional tests (#19582) 2020-03-10 07:51:27 -07:00
Kahbazi 9a3aacb56a Replace string.Equals with HttpMethods.IsX (#17805) 2019-12-11 21:40:27 -08:00
BrennanConroy 0748d18a0c
Expose JsonSerializerOptions directly in SignalR (#9881) 2019-05-02 18:59:18 -07:00
BrennanConroy a6fd8da9e8
Set camelCase as default in JsonHubProtocol (#9531) 2019-04-19 09:55:51 -07:00
James Newton-King 7669cf0d03
Move Microsoft.AspNetCore.Authorization.Policy types (#9492) 2019-04-19 13:24:36 +12:00
BrennanConroy c84e37f30d
Make System.Text.Json the default for SignalR and remove Newtonsoft from shared framework (#9476) 2019-04-18 13:49:24 -07:00
Pranav K ae34697797 Fix #9041 - Complain if auth hasn't been set up correctly (#9181) 2019-04-11 10:36:21 -07:00
Stephen Halter 74bba27f43
Implement auto reconnect for SignalR TypeScript client (#8566) 2019-04-08 07:33:20 -07:00
Ryan Nowak 658b37d2bd
Make UseEndpoints a thing (#8765)
* Make endpoint middleware explicit

This change makes the endpoint middleware explicit again, and updates
all of the templates.

The other change here is make UseEndpoints be the place where you
register endpoints. This is vital because it puts your code visually at
the point of the pipeline where it executes.

Lastly, I removed support for UseMvc with endpoint routing. This is
causing issues for some security features, and we're moving in the
direction of trying to make the middleware heavy implementation required
in 3.0. There are some issues we won't be able to fix in MVC if we can't
unambiguously know if UseMvc was used or the middleware.
2019-03-28 15:41:11 -07:00
Chris Ross 4e44025a52
Replace IHostingEnvironment with IWebHostEnvironment (#7725) 2019-02-19 21:11:52 -08:00
David Fowler 5ef51822de
Added endpoint routing support (#7608)
- Basic endpoint routing support to for SignalR hubs, ConnectionHandler and IConnectionBuilder endpoints
- Updated all functional tests and samples to use it
- Added all attributes as metadata from Hubs and ConnectionHandlers
- Added a test to verify client is rejected if auth is ineffective
2019-02-15 12:32:01 -08:00
BrennanConroy 80ae51ead8
Rename Json protocol to NewtonsoftJson (#4319) 2018-12-03 08:59:44 -08:00
Ryan Brandenburg 1992701808 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d0bcdf3dd9
2018-11-27 12:06:02 -08:00