Commit Graph

165 Commits (a9e109763f0d7543d4f0e1e8f9ef13f60fb1481d)

Author SHA1 Message Date
Brady Gaster a9e109763f adding javascript reconnect docs (#9345)
adding some work to address #6757, though this PR fails to contribute a holistic document addressing the entire topic of reconnections.
2018-11-14 10:44:47 -06:00
Ahmed Yahia 7e53e1a380 Update hubcontext.md (#9547) 2018-11-14 10:25:28 -06:00
Andrew Stanton-Nurse 0dfa5e0723 updates to hubs document (#9501)
fixes #9497 as well

Some updates that came up as I was writing #9455 but didn't fit there.

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.1&branch=pr-en-us-9501)
2018-11-12 15:53:53 -06:00
Andrew Stanton-Nurse f4e90f4af7 fix #9405 by adding api design docs (#9455)
fixes #9405

add some API design docs. I decided some of the things in #9405 (HubMethodName, Typed clients, etc.) fit better in the Hub API doc so I'll submit a separate PR for those soon

I'm sure I messed up the code snippets somehow :). Will have to wait and see how the review copy turns out.

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/api-design?view=aspnetcore-2.1&branch=pr-en-us-9455)
2018-11-12 15:16:31 -06:00
Ahmed Yahia 99747947f9 Fix constructor name in sample code (#9548) 2018-11-12 07:43:20 -08:00
Ahmed Yahia cea6c0b17e "call to connection" --> "call on connection" in hubs.md (#9542) 2018-11-10 14:07:37 -08:00
BrennanConroy 7ad8de6966 Update SignalR differences (#9457) 2018-11-08 08:46:32 -08:00
Tom Dykstra eb67d3a497
http --> https in sample URLs in SignalR security.md (#9500) 2018-11-07 09:27:17 -08:00
Andrew Stanton-Nurse f8acc64223 Expand upon SignalR access token logging section (#9440)
From #9424 discussions

Expanded a bit on how access token logging affects your app and what it means. Also, how to disable URL logging entirely in ASP.NET Core (this is a bit of a severe option, since it disables logging of ALL request URLs).

cc @Tratcher

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.1&branch=pr-en-us-9440)
2018-11-07 09:23:41 -06:00
Mikael Mengistu 8439a641fe SignalR Java Client Access token provider section (#9454)
Fixes https://github.com/aspnet/Docs/issues/9171
Adding a short section in the Java client docs about setting up an Access Token provider.
2018-11-06 16:24:43 -06:00
BrennanConroy d396dffe19 WebSocket Origin Restriction (#9447)
Fixes https://github.com/aspnet/Docs/issues/9363

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.2&branch=pr-en-us-9447)
There are some moniker ranges, so switch the versions to verify they're working
2018-11-06 15:55:48 -06:00
BrennanConroy b2d027899e Describe Hub lifetime (#9439)
Fixes https://github.com/aspnet/Docs/issues/6888

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.1&branch=pr-en-us-9439)
2018-11-06 12:22:41 -06:00
Sean 'Doc' Rinehart 7a0805d6d9 Add a sample of a strongly-typed HubContext (#9277)
Fixes #8824
2018-11-01 14:18:56 -05:00
Rick Anderson 0ee6b101d9
delete map and min files (#9310) 2018-10-31 14:26:48 -10:00
Tom Dykstra 3a12dea45d
Add note about groups security (#9361)
Fixes #9349
2018-10-31 14:06:56 -07:00
Nytiennzo Madooray 47c3fb750a Small gramatical improvement (#9359) 2018-10-31 12:58:40 -05:00
Scott Addie fcf473f19a
Fix DocFX build warnings from retired index pages (#9339) 2018-10-30 15:48:01 -05:00
Tom Dykstra 53d3060df9
Additional cookie/bearer token auth info (#9263) 2018-10-29 12:32:46 -07:00
Tom Dykstra 1791c5c99d
clarify sticky session requirements (#9253) 2018-10-29 12:13:44 -07:00
Tom Dykstra b6ba3d220c Table of Contents reorg (#9133)
* overview

* whats new to end

* fix migration node

* split fundamentals, move to end

* glob & loc, get started

* security node name

* security section

* azure, client-side, host

* several more sections

* redistribute tutorials

* proofread fixes

* move how to download section

* index files delete and redirect

* fix errors

* reorder some nodes

* scott feedback, flatten main tutorials node

* fix missed feedback items + other issues

* unflatten tutorials node

* move 'how to download'

* more tutorials node tweaks

* standardize view sample links

* db --> DB

* fix build error

* remove link from a parent node

* streamline node names

* xref links

* typos

* typo

* typos and revert some xref links

* scott feedback

* scott feedback

* feedback

* change node name

* safe storage-->protect
2018-10-26 18:34:40 -10:00
Andrew Stanton-Nurse eb84aae5e4 Fix status code for WebSocket origin validation (#9250) 2018-10-26 11:47:35 -05:00
Mikael Mengistu 152b1a067c Update Java API reference link (#9227)
Updating the link on the main Java docs page
2018-10-25 15:39:00 -10:00
Tom Dykstra 967d89adba
remove "both" (#9170) 2018-10-23 09:52:53 -07:00
Mikael Mengistu 31f4e34f67 SignalR Java Client Preview 3 Docs updates (#9112)
Updating for the Preview3 SignalR Java client
[Review link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/java-client?view=aspnetcore-2.2&branch=pr-en-us-9112)
Fixes https://github.com/aspnet/Docs/issues/9117
2018-10-22 16:52:19 -05:00
Rick Anderson 36e2502ce8
UE edit of Security considerations in ASP.NET Core SignalR (#9088)
[Internal review URL](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.1&branch=pr-en-us-9088)

- Kill long sentences. Long sentences are difficult for native speakers and impossible for MT (machine translation)
- Format code to prevent horizontal scroll bar on tablets 85 characters wide. You can simulate tablets by viewing in a browser of the maximum width that doesn't have left or right panes (TOC's).
- Prune dead wood. Avoid unnecessary words that don't add meaning to the text.
- Avoid "you" except when it make the statement more clear. 

  - For example, the following CORS policy allows a SignalR browser client hosted on `http://example.com` to access **your** SignalR app:
  -For example, the following CORS policy allows a SignalR browser client hosted on `http://example.com` to access the SignalR app hosted on `http://signalr.example.com`:
- Avoid Wikipedia links
- Code snippets

Explicit sign-off required on my security rewording below:
- [ ]  Allow cross-origin requests only from domains you trust or control. 

The following are slightly too long but I couldn't find an elegant way to shorten them (not that my other trimming was elegant):

- Applications should be configured to validate these headers to ensure that only WebSockets coming from the expected origins are allowed.
2018-10-19 09:10:45 -10:00
Andrew Stanton-Nurse 04e2b7a6bd Documentation on WebSocket Origin validation (#9080)
Added some notes on WebSocket Origin validation to ASP.NET Core SignalR documentation.

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/security?view=aspnetcore-2.1&branch=pr-en-us-9080)
2018-10-17 11:01:37 -10:00
Tom Dykstra 50863ad503 Logging article updates (#8908)
Fixes #5161
Fixes #8338 
Fixes #8620
Fixes #8803 
Fixes #8207

[Internal review link](https://review.docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/index?view=aspnetcore-2.2&branch=pr-en-us-8908)
2018-10-16 09:16:57 -10:00
Antoine Griffard 9693195d01 Typo in version-differences (#9022) 2018-10-15 12:24:50 -05:00
Antoine Griffard fc719ac941 Typo in streaming (#9021) 2018-10-15 11:41:39 -05:00
Antoine Griffard 1b16eded26 Typo in messagepackhubprotocol (#9020) 2018-10-15 11:40:54 -05:00
Tom Dykstra e8be8e6ed2
remove code formatting from headings 2018-10-11 10:00:01 -07:00
Luke Latham 8e6dd4a7f4 Drop version from App package (#8881)
Addresses #8579 

I might be getting the hang of **_find and replace_** now. 😝

This doesn't touch a couple that ref 2.2.0. I'll tidy those up on https://github.com/aspnet/Docs/issues/8518 after 2.2 RTM.
2018-10-06 17:10:28 -10:00
Cecil Phillip 16af294128 Update messagepackhubprotocol.md (#8847)
Fixes #8821
PR for review. I just mirrored the note in the server section
@scottaddie @anurse
2018-10-04 14:29:33 -05:00
Tom Dykstra 055b3e55c8 Move Supported platforms out of Server concepts ToC (#8828) 2018-10-03 13:31:18 -05:00
Tom Dykstra fa5ebeba6f
Add available clients to SignalR supported platforms (#8729) 2018-10-03 09:34:37 -07:00
José Maia 6619e940e4 Point to a central page explaining all signalr clients (#8782)
Fixes #8781
2018-10-01 15:21:55 -05:00
Tom Dykstra 934fdbb87f Retire duplicate doc - pub to Azure using CLI (#8747)
Fixes #8723
2018-09-28 10:33:08 -10:00
Andrew Stanton-Nurse 55de66375a fix access token sample in SignalR auth document (#8680)
Fixes #8631 

The `AccessTokenFactory` expects a `Task<string>` so we need to wrap it in `Task.FromResult` in the sample (which is synchronous).
2018-09-24 10:24:26 -05:00
Mikael Mengistu 5e95f82e20 SignalR Java Client preview1 -> preview2 (#8626)
Editing `Preview1 `to be `Preview2` in the Java client docs
2018-09-19 20:27:51 -05:00
Mikael Mengistu 4348c5837d Update to preview2 (#8593) 2018-09-19 17:41:24 -05:00
Scott Addie 12764fb04b
Add SignalR Java API ref to ToC (#8619)
Link to the newly created ASP.NET Core SignalR Java API ref
2018-09-19 13:38:52 -05:00
BrennanConroy 398d92d3cf
Fix compile errors 2018-09-17 14:20:54 -07:00
Luke Latham 46f41d4774
Update All and App package versions (#8513) 2018-09-13 11:39:23 -05:00
Kevin Griffin 61fdb712c6 Implements #8505 Hub<T> section for signalr/hubs.md (#8508)
Fixes #8505 

Added the section to signalr/hubs.md for Hub<T>.  Added a refactored version of `ChatHub` to use an interface instead of `SendAsync`.  

Any feedback is greatly appreciated!  My first PR to docs!
2018-09-13 09:24:03 -05:00
Tom Dykstra 049936f33a
Add section for Closed event in SignalR .NET Client doc (#8497) 2018-09-12 10:25:12 -07:00
Tom Dykstra 8035ff6e76
Add Context section to signalr/hubs.md (#8486) 2018-09-11 17:10:04 -07:00
Tom Dykstra 29e363873e
AddJsonHubProtocol --> AddJsonProtocol (#8492) 2018-09-11 09:15:44 -07:00
Luke Latham 1a0f79a8fe
Update All/App package version (#8489) 2018-09-11 08:53:03 -05:00
Rick Anderson 5e419398cf
Update dotnet-client.md (#8472)
* Update dotnet-client.md

remove double send
Remove `you` when it doesn't add clarity. You aren't sending/receiving, the client is. It's more clear without you.

* simplify intro
2018-09-10 18:39:13 -07:00
Scott Addie cafe4fd922
Fix SignalR .NET client sample app (#8481)
* Fix SignalR .NET client sample app

* Adjust line numbers in associated doc

* Fix HintPaths

* Convert packages.config to PackageReferences

* Add launchSettings.json to ensure same port WPF app expects is used
2018-09-10 14:40:03 -05:00