Commit Graph

319 Commits (76e05bf07a5a289c9996a34779d03d88bbb7b1a2)

Author SHA1 Message Date
Zhidi Shang 3a4de74c34
Update scale.md (#19756) 2020-09-07 03:48:35 -05:00
Rick Anderson 23bd8d2057
Add ASP.NET Identity to no loc (#19578)
* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc

* Add ASP.NET Identity to no loc
2020-08-19 11:07:40 -10:00
Luke Latham d39b3cd5af
SignalR service mode guidance (#19444) 2020-08-17 12:35:38 -05:00
Wade Pickett bd6d11acf3
Udpated metadata custom value to indicate a C# .NET + Azure topic (#19466) 2020-08-10 21:31:27 -07:00
Rick Anderson 3a5c8b81d4
add Cookie to no loc (#19446) 2020-08-07 14:55:26 -10:00
Luke Latham 1593030543
Blazor state management updates (#19287) 2020-08-05 13:46:24 -05:00
Scott Addie 9e0dfa36dc
Fix build suggestions (#19114)
* Fix build suggestions

* fixes

* more fixes

* more fixes

* more fixes

* Add missing backtick
2020-07-06 12:38:11 -05:00
Luke Latham 80446f1dd8
Add Blazor WebAssembly/Server to no-loc (#18962) 2020-06-25 19:11:04 -05:00
Luke Latham d5b7249fd1
Blazor ToC updates (#18831) 2020-06-19 08:24:40 -05:00
Brennan a257708e2a
Add 'headers' option to docs (#18814) 2020-06-15 17:16:10 -07:00
Luke Latham 63d40f5602
SignalR naming consistency (#18759) 2020-06-12 15:55:07 -05:00
Luke Latham 67e74379f8
Blazor WASM SignalR client logging (#18780) 2020-06-12 13:41:46 -05:00
Brennan 5ec47aa88b
Cleanup SignalR Windows Auth with browsers (#18296)
* Cleanup SignalR Windows Auth with browsers

* Update

* Update authn-and-authz.md

* Update authn-and-authz.md

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2020-06-10 16:14:48 -10:00
Brennan 9074d66382
Hub filter doc (#18416)
* Hub filter doc

* new example

* whoops missed an arg

* fix

* fb

* Apply suggestions from code review

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* Update aspnetcore/signalr/hub-filters.md

* fb

* fb

* Apply suggestions from code review

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-06-10 16:40:35 -05:00
Brennan aaecaba876
Add SignalR counters (#18696)
* Add SignalR counters

* Edit pass on SignalR counters PR (#18707)

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-06-08 10:02:12 -05:00
Luke Latham a57e5623aa
Change en dash layout elements to colon-space syntax (#18506)
* Change en dash layout elements to colon-space syntax

* Update

* Update
2020-05-27 09:37:36 -05:00
Kirk Larkin 2ac9a9aa45
Link from SignalR groups to authn/authz (#18354) 2020-05-18 10:50:44 -05:00
Ben Randall d06487708d
Update javascript-client.md (#18348)
Fixing range for `Connect to a hub` section sample code.  

Current code shows this:
```js
const connection = new signalR.HubConnectionBuilder()
    .withUrl("/chatHub")
    .configureLogging(signalR.LogLevel.Information)
    .build();

start();

/* this is here to show an alternative to start, with a then
```

New should show this:
```js
const connection = new signalR.HubConnectionBuilder()
    .withUrl("/chatHub")
    .configureLogging(signalR.LogLevel.Information)
    .build();

async function start() {
    try {
        await connection.start();
        console.log("connected");
    } catch (err) {
        console.log(err);
        setTimeout(() => start(), 5000);
    }
};

connection.onclose(async () => {
    await start();
});

// Start the connection.
start();

/* this is here to show an alternative to start, with a then
connection.start().then(() => console.log("connected"));
*/

/* this is here to show another alternative to start, with a catch
connection.start().catch(err => console.error(err));
*/
```
2020-05-18 10:46:25 -05:00
Luke Latham 3f9b34de03
Link updates (#18347) 2020-05-16 15:33:03 -05:00
Andrew Stanton-Nurse 1c8fc3decc
SignalR Client Features doc -> SignalR Clients overview doc (#18293) 2020-05-15 13:01:38 -07:00
Casey Marquis bf1aca10ba
hubcontext.md: updates examples (#18284)
* Update hubcontext.md

Failing to call next causes bad things to happen. Better to leave it in the example.

* Update hubcontext.md

This shows how to access IHost for use outside of aspnetcore. ie integration with other dependency injection frameworks

* hubcontext.md: Move note back to original location.

* Update hubcontext.md

* Update aspnetcore/signalr/hubcontext.md

Co-authored-by: Brennan <brecon@microsoft.com>

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2020-05-13 12:23:18 -10:00
Dave Pringle e4f8439dfb
Add 3.x SignalR background service sample (#17318)
* Add 3.0 SignalR background service sample

* Fix background-services.md date

* Compressed a few monikers

* Renamed 3.0 sample to 3.x

* Apply suggestion

Co-Authored-By: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Shrink ClockHubClient.StopAsync snippet by 1 line

Also tweaked the wording slightly in the "any class that inherits from hub..." note

* Remove future tense from note

* Use async On overload in 3.x sample

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2020-05-12 08:12:37 -10:00
Luke Latham f2834015b6
Drop existing no-loc entries (#18111) 2020-05-04 12:00:16 -05:00
Rick Anderson e74db43429
Update authn-and-authz.md 2020-05-01 09:51:50 -10:00
Brennan f0bbf06bc6
Update SignalR CORS for 5.0 (#18000)
* Update SignalR CORS for 5.0

* Update aspnetcore/signalr/configuration.md

Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com>

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-04-28 16:49:04 -05:00
Scott Addie 49b6ddeb6a
Fix SignalR JS client error handling code snippet line numbers (#17834)
* Fix SignalR JS client error handling code snippet line numbers

* more edits

* Simplify
2020-04-15 14:38:23 -05:00
Brennan dd14ea840a
Update MessagePack docs for 5.0 (#17736)
* Update MessagePack docs for 5.0

* some formatting

* Edit pass on MessagePack doc updates for 5.0 (#17767)

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2020-04-13 15:12:43 -05:00
Brennan 1d18688c3b
Add MinimumProtocolVersion (#17734) 2020-04-13 09:29:14 -05:00
Luke Latham 57141a3969
Patch SignalR code example (#17754) 2020-04-12 09:00:24 -05:00
Scott Addie 607e415db2
Document non-npm approaches to installing SignalR JS client library (#17685)
* Document non-npm approaches to installing SignalR JS client library

* Add @aspnet CDN links

* Change dev langs

* Verbiage tweaks

* React to feedback
2020-04-09 12:39:41 -05:00
Andrew Stanton-Nurse aae74b3fae
fix #17358 by calling 'start()' in the JS sample (#17359) 2020-03-18 15:12:36 -07:00
Scott Addie 9174ead0d3
Update aspnet org. links to reference the dotnet org. (#17077)
* Update aspnet org. links to reference the dotnet org.

* Update API ref links
2020-02-20 19:37:35 -06:00
Mohsin Nasir 8acf9a5c48
NCache SignalR backplane for asp.net core (#16957)
* NCache SignalR backplane for asp.net core

Mentioning NCache as opensource thirdparty asp.net core signalR backplane

* Removed ncache explanation and added thirdparty signalR providers

Removed NCache explanation  and added thridparty section for signalR backplane providers
2020-02-12 09:34:21 -08:00
Scott Addie 501c0cb022
Fix invalid dev langs in code snippets (#16968) 2020-02-11 15:07:13 -06:00
Andrew Stanton-Nurse bf39ea8b89
SignalR Docs update in response to CVE-2020-5234 in MessagePack library (#16799)
* Update messagepackhubprotocol.md

* Update messagepackhubprotocol.md

* Update messagepackhubprotocol.md (#16802)

* Update messagepackhubprotocol.md

* Update messagepackhubprotocol.md

* Update messagepackhubprotocol.md (#16807)

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2020-01-31 14:53:05 -08:00
Andrew Stanton-Nurse 2e9086065e
[SignalR] Update to streaming sample (#16426)
* [SignalR] Update to streaming sample

Adds the EnumeratorCancellationAttribute to the sample to prevent warnings when users add CancellationTokens. It also allows the server-side code to use `await foreach` with cancellation (i.e. in unit tests).

Fixes #16202

* feedback
2020-01-30 14:24:44 -08:00
Andrew Arnott 7b8d41f504 Update links to MessagePack-CSharp (#16640)
One of the anchor links was out of date. But really both links needed updating because they point people at the 2.1 documentation when for SignalR only the 1.x version is relevant. So I've updated the links to explicitly point at the v1.8 branch of the docs which fixes the broken link and points people at the docs relevant to the version they're using.
2020-01-21 12:17:15 -08:00
Luke Latham e2f7ef9586 Call out header for Linux/Nginx+Blazor Server (#15897)
* Call out header for Linux/Nginx+Blazor Server

* React to feedback

* Add cross-links to Nginx topic
2020-01-17 17:49:31 -08:00
Wade Pickett 8ae34e4bad New include ConnectId security warning & applied to hubs.md for SignalR (#16573)
* New include connectID security warning & applied to hubs.md for SignalR

* patch: Corrected grammar on include warning.

* patch: adding ConnectID section to security.md for Signalr.

* Update aspnetcore/includes/connectionid-signalr.md

Co-Authored-By: Stephen Halter <halter73@gmail.com>

* Update security.md

Changed "ConnectionID" to "ConnectionId"

Co-authored-by: Stephen Halter <halter73@gmail.com>
2020-01-17 17:47:52 -08:00
Luke Latham 74e8b65c3e
Link update (#16568) 2020-01-16 05:19:09 -06:00
Wade Pickett d1e86d26dc corrected code: _random expresson fix. (#16554) 2020-01-15 12:04:19 -08:00
Anthony Chu e7d092dae7 Update SignalR Service guidance (#16503)
Relax current wording that advises against using Azure SignalR Service in all on-prem deployments.
2020-01-13 12:46:37 -08:00
Scott Addie 0a6c1f78c5
Update aspnet/AspNetCore & aspnet/Home references to dotnet/As… (#16483)
* React to AspNetCore repo move to dotnet org

* Change aspnet/Home reference to dotnet/aspnetcore

* More replacements of aspnet/Home
2020-01-09 13:30:28 -06:00
Rick Anderson 28490987fa
Update security.md (#16153)
* Update security.md

* Update security.md

* Update security.md

* Update security.md

* Update security.md
2020-01-07 16:47:12 -08:00
Saeed Ganji f048cf58e9 update(scale-out): docs for redis backplane (#16359)
* update(scale-out): docs for redis backplane

The sticky session was a little bit vague so that one might think even if they use just WebSocket for all the clients and use Redis backplane they still might need "sticky sessions". There was a clarification by @davidfowl [here](https://twitter.com/davidfowl/status/1212068926676275202?s=20)

* Update scale.md

* Update scale.md

* Update scale.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
2020-01-02 12:18:22 -08:00
Pranav K 829f52e1ae Talk about avoiding IIS (#16244)
* Talk about avoiding IIS

* Update scale.md
2019-12-17 13:01:13 -08:00
uteschj f5ca489005 Add missing curly brace in code sample (#16166) 2019-12-12 14:11:08 -06:00
Wade Pickett 5767da889b
Cleaned up moniker versioning for ASP.NET Core SignalR configuration (#16060)
* Cleaned up moniker versioning for ASP.NET Core SignalR configuration

* patch: Removed 3.0 intro from start of < 3.0 section and extra spaces.

* removed extra >3.0 moniker ranges from original no longer needed.

* Patch: Divided into 3 complete versions >= 3.0, =2.2, < 2.2, removed no 3.1 update warning.

* patch: removed dupe 2.2 keep alive option table from < 2.2 section.  Moved H1 above monikers.

* patch: removed java client websockets line from 2.1 version.
2019-12-10 16:46:21 -08:00
Rick Anderson c9952b329e
Update background-services.md (#15963)
* Update background-services.md

* Update background-services.md

* Update background-services.md
2019-12-10 14:21:16 -08:00
Luke Latham 2e9bf90656
Drop styled link text (#16042) 2019-12-05 17:12:26 -06:00