Commit Graph

148 Commits (ca1e5fba4ee38af67c902bdd5af6365770639bdf)

Author SHA1 Message Date
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
Keyur 7e5399ce45 Added 'Scaleout differences' section (#8469)
Addresses https://github.com/aspnet/Docs/issues/7814

Saw this in one of the comments. So thought of adding it.

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/version-differences?view=aspnetcore-2.1&branch=pr-en-us-8469#scaleout-differences)
2018-09-10 13:52:39 -05:00
Andrew Stanton-Nurse 10f4d96f93 Fix sample snippet by adding async (#8480)
Noticed that this sample snippet doesn't have the `async` keyword or return a task in the middleware func, so it won't compile as-is. Added `async` since it's the easiest way to do this.
2018-09-10 12:22:25 -05:00
David Fowler dd507467f9
Fixed code sample (#8475)
Fixed code to retrieve the IHubContext from middleware
2018-09-10 07:28:11 -07:00
BrennanConroy 3cc9e7b5f0 Add note about changing KeepAliveInterval (#8404)
* Add note about changing KeepAliveInterval

https://github.com/aspnet/SignalR/issues/2905

* Update configuration.md

slight rewording.

* Verbiage tweak on SignalR Config doc's ServerTimeout setting
2018-09-06 15:03:15 -05:00
Mikael Mengistu 448b927ad9 SignalR Java Client Doc (#8314)
Fixes: https://github.com/aspnet/Docs/issues/8256

Just starting a PR for this. It's still early

[Internal Review Link](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/java-client?view=aspnetcore-2.2&branch=pr-en-us-8314)
2018-09-06 09:57:58 -05:00
Scott Addie fd6f910196
Corrections in SignalR version support table (#8183)
Fixes #8182 
Surfaces the .NET Framework package from https://github.com/aspnet/Docs/pull/8145

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/version-differences?branch=pr-en-us-8183&view=aspnetcore-2.1#how-to-identify-the-signalr-version)
2018-08-20 13:33:52 -05:00
Andrew Stanton-Nurse ae64d51614 SignalR: Add table to help identify version (#8148)
* SignalR: Add table to help identify version

Adds a section to the ASP.NET Core SignalR Differences document to help identify the version you are using. This can be a helpful resource when customers aren't sure which version is which.

* remove extra :

* pr feedback and api links

* what even is '/'?

* relative api urls

* I think I commaed right

* Remove en-us
2018-08-18 10:43:00 -07:00
Luke Latham 232d345f9e
Specify "Core" for ASP.NET Core refs (#8110) 2018-08-15 22:30:29 -05:00
Scott Addie 750f507b90
Add API ref links to SignalR JS client doc (#8080)
* Add API ref links to SignalR JS client doc

* Remove version query string
2018-08-14 15:57:46 -05:00
Corné Hogerheijde afc41feb9a Small change in documentation to call server method from client (#8006) 2018-08-09 10:19:32 -05:00
BrennanConroy 3a92ef7f09 Add a warning for a SignalR setting (#7996)
* Add a warning for a SignalR setting

* Update configuration.md

* Update configuration.md
2018-08-08 19:08:51 -07:00
Tom Dykstra 5ffd92b0f3
Note about VS version for Xamarin (#7981) 2018-08-07 10:58:15 -07:00
Andrew Stanton-Nurse b662a955bc Add default values to SignalR config doc (#7906)
Had a question about default values for the config values and I figured it would be faster to answer by updating the docs ;).

Not committed to the formatting. I thought a new column could work well but I could also do this as sentences in the Description column (some of the options already had this, I think I moved them all)

[Internal Review Page](https://review.docs.microsoft.com/en-us/aspnet/core/signalr/configuration?view=aspnetcore-2.1&branch=pr-en-us-7906)
2018-07-31 15:02:07 -05:00
Tom Dykstra 3ccf75117c
Introduction to ASP.NET Core SignalR edit pass (#7852) 2018-07-28 09:45:05 -07:00
Andrew Stanton-Nurse 82f924dd4e Clarify handshake options in SignalR (#7710) 2018-07-20 14:27:04 -05:00
Andrew Stanton-Nurse 77e47ab640 SignalR - .NET Client Windows Auth (#7670) 2018-07-17 16:17:40 -05:00
Paweł Gorczyński e7c41ad74b Added missing semicolon (#7661) 2018-07-17 07:54:13 -05:00