Skip to content

Commit 56861af

Browse files
authored
Merge pull request #18041 from dotnet/master
Update live with master
2 parents c6f5ea6 + 9bb5b6c commit 56861af

19 files changed

Lines changed: 303 additions & 234 deletions

File tree

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,11 @@
919919
"source_path": "aspnetcore/blazor/javascript-interop.md",
920920
"redirect_url": "/aspnet/core/blazor/call-javascript-from-dotnet",
921921
"redirect_document_id": false
922+
},
923+
{
924+
"source_path": "aspnetcore/security/blazor/server.md",
925+
"redirect_url": "/aspnet/core/security/blazor/server",
926+
"redirect_document_id": false
922927
}
923928
]
924929
}

aspnetcore/blazor/call-javascript-from-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ JS interop may fail due to networking errors and should be treated as unreliable
450450
TimeSpan.FromSeconds({SECONDS}), new[] { "Arg1" });
451451
```
452452

453-
For more information on resource exhaustion, see <xref:security/blazor/server>.
453+
For more information on resource exhaustion, see <xref:security/blazor/server/threat-mitigation>.
454454

455455
[!INCLUDE[Share interop code in a class library](~/includes/blazor-share-interop-code.md)]
456456

aspnetcore/blazor/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,4 +958,4 @@ However, inline SVG markup isn't supported in all scenarios. If you place an `<s
958958

959959
## Additional resources
960960

961-
* <xref:security/blazor/server> &ndash; Includes guidance on building Blazor Server apps that must contend with resource exhaustion.
961+
* <xref:security/blazor/server/threat-mitigation> &ndash; Includes guidance on building Blazor Server apps that must contend with resource exhaustion.

aspnetcore/blazor/hosting-models.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ A UI update in Blazor is triggered by:
107107

108108
The graph is rerendered, and a UI *diff* (difference) is calculated. This diff is the smallest set of DOM edits required to update the UI on the client. The diff is sent to the client in a binary format and applied by the browser.
109109

110-
A component is disposed after the user navigates away from it on the client. While a user is interacting with a component, the component's state (services, resources) must be held in the server's memory. Because the state of many components might be maintained by the server concurrently, memory exhaustion is a concern that must be addressed. For guidance on how to author a Blazor Server app to ensure the best use of server memory, see <xref:security/blazor/server>.
110+
A component is disposed after the user navigates away from it on the client. While a user is interacting with a component, the component's state (services, resources) must be held in the server's memory. Because the state of many components might be maintained by the server concurrently, memory exhaustion is a concern that must be addressed. For guidance on how to author a Blazor Server app to ensure the best use of server memory, see <xref:security/blazor/server/threat-mitigation>.
111111

112112
### Circuits
113113

@@ -125,12 +125,12 @@ UI latency is the time it takes from an initiated action to the time the UI is u
125125

126126
For a line of business app that's limited to a private corporate network, the effect on user perceptions of latency due to network latency are usually imperceptible. For an app deployed over the Internet, latency may become noticeable to users, particularly if users are widely distributed geographically.
127127

128-
Memory usage can also contribute to app latency. Increased memory usage results in frequent garbage collection or paging memory to disk, both of which degrade app performance and consequently increase UI latency. For more information, see <xref:security/blazor/server>.
128+
Memory usage can also contribute to app latency. Increased memory usage results in frequent garbage collection or paging memory to disk, both of which degrade app performance and consequently increase UI latency.
129129

130130
Blazor Server apps should be optimized to minimize UI latency by reducing network latency and memory usage. For an approach to measuring network latency, see <xref:host-and-deploy/blazor/server#measure-network-latency>. For more information on SignalR and Blazor, see:
131131

132132
* <xref:host-and-deploy/blazor/server>
133-
* <xref:security/blazor/server>
133+
* <xref:security/blazor/server/threat-mitigation>
134134

135135
### Connection to the server
136136

aspnetcore/fundamentals/configuration/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,6 @@ The following code from the [sample download](https://github.com/dotnet/AspNetCo
528528

529529
In the preceding code, `config.AddInMemoryCollection(Dict)` is added after the [default configuration providers](#default). For an example of ordering the configuration providers, see [JSON configuration provider](#jcp).
530530

531-
For an example of ordering the configuration providers, see [JSON configuration provider](#jcp).
532-
533531
See [Bind an array](#boa) for another example using `MemoryConfigurationProvider`.
534532

535533
## GetValue

aspnetcore/fundamentals/routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ In the following example, a middleware uses the <xref:Microsoft.AspNetCore.Routi
401401

402402
Tokens within `{}` define route parameters that are bound if the route is matched. More than one route parameter can be defined in a route segment, but route parameters must be separated by a literal value. For example, `{controller=Home}{action=Index}` isn't a valid route, since there's no literal value between `{controller}` and `{action}`. Route parameters must have a name and may have additional attributes specified.
403403

404-
Literal text other than route parameters (for example, `{id}`) and the path separator `/` must match the text in the URL. Text matching is case-insensitive and based on the decoded representation of the URLs path. To match a literal route parameter delimiter `{` or `}`, escape the delimiter by repeating the character. For example `{{` or `}}`.
404+
Literal text other than route parameters (for example, `{id}`) and the path separator `/` must match the text in the URL. Text matching is case-insensitive and based on the decoded representation of the URL's path. To match a literal route parameter delimiter `{` or `}`, escape the delimiter by repeating the character. For example `{{` or `}}`.
405405

406406
Asterisk `*` or double asterisk `**`:
407407

aspnetcore/host-and-deploy/blazor/server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A web server capable of hosting an ASP.NET Core app is required. Visual Studio i
2828
Plan a deployment to make the best use of the available infrastructure for a Blazor Server app. See the following resources to address Blazor Server app scalability:
2929

3030
* [Fundamentals of Blazor Server apps](xref:blazor/hosting-models#blazor-server)
31-
* <xref:security/blazor/server>
31+
* <xref:security/blazor/server/threat-mitigation>
3232

3333
### Deployment server
3434

@@ -37,7 +37,7 @@ When considering the scalability of a single server (scale up), the memory avail
3737
* Number of active circuits that a server can support.
3838
* UI latency on the client.
3939

40-
For guidance on building secure and scalable Blazor server apps, see <xref:security/blazor/server>.
40+
For guidance on building secure and scalable Blazor server apps, see <xref:security/blazor/server/threat-mitigation>.
4141

4242
Each circuit uses approximately 250 KB of memory for a minimal *Hello World*-style app. The size of a circuit depends on the app's code and the state maintenance requirements associated with each component. We recommend that you measure resource demands during development for your app and infrastructure, but the following baseline can be a starting point in planning your deployment target: If you expect your app to support 5,000 concurrent users, consider budgeting at least 1.3 GB of server memory to the app (or ~273 KB per user).
4343

aspnetcore/index.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
ms.topic: hub-page
1212
author: WadePickett
1313
ms.author: wpickett
14-
ms.date: 04/15/2020
14+
ms.date: 04/26/2020
1515

1616
# highlightedContent section (optional)
1717
# Maximum of 8 items
@@ -27,9 +27,9 @@ highlightedContent:
2727
itemType: overview
2828
url: introduction-to-aspnet-core.md
2929
# Card
30-
- title: "ASP.NET Core video tutorials"
31-
itemType: video
32-
url: https://www.youtube.com/playlist?list=PLdo4fOcmZ0oW8nviYduHq7bmKode-p8Wy
30+
- title: "Download .NET"
31+
itemType: download
32+
url: https://dotnet.microsoft.com/download
3333
# Card
3434
- title: "What's new in ASP.NET Core docs"
3535
itemType: whats-new
@@ -233,6 +233,24 @@ conceptualContent:
233233
- url: https://docs.microsoft.com/aspnet/overview
234234
itemType: concept
235235
text: "ASP.NET 4.x"
236+
# Card
237+
- title: ASP.NET Core video tutorials
238+
links:
239+
- url: https://www.youtube.com/playlist?list=PLdo4fOcmZ0oW8nviYduHq7bmKode-p8Wy
240+
itemType: video
241+
text: "ASP.NET Core 101 video series"
242+
- url: https://www.youtube.com/playlist?list=PLdo4fOcmZ0oX7uTkjYwvCJDG2qhcSzwZ6
243+
itemType: video
244+
text: "Entity Framework Core 101 video series with .NET Core and ASP.NET Core"
245+
- url: https://www.youtube.com/watch?v=RyHDWlIq6vI
246+
itemType: video
247+
text: "Microservice architecture with ASP.NET Core"
248+
- url: https://www.youtube.com/watch?v=KlngrOF6RPw&list=PLdo4fOcmZ0oWlP1Qpzg7Dwzxr298ewdUQ
249+
itemType: video
250+
text: "Focus on Blazor video series"
251+
- url: https://www.youtube.com/channel/UCvtT19MZW8dq5Wwfu6B0oxw/
252+
itemType: video
253+
text: ".NET Channel"
236254

237255
# Card with summary style
238256
additionalContent:

aspnetcore/mvc/controllers/routing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ In some cases, an HTTP 500 error is returned with ambiguous routes. Use [logging
467467

468468
For convenience, attribute routes support token replacement for reserved route parameters by enclosing a token in one of the following:
469469

470-
* Square braces: `[]`
470+
* Square brackets: `[]`
471471
* Curly braces: `{}`
472472

473473
The tokens `[action]`, `[area]`, and `[controller]` are replaced with the values of the action name, area name, and controller name from the action where the route is defined:
@@ -1212,7 +1212,7 @@ Razor Pages routing and MVC controller routing share an implementation. Informat
12121212

12131213
## Token replacement in route templates ([controller], [action], [area])
12141214

1215-
For convenience, attribute routes support *token replacement* by enclosing a token in square-braces (`[`, `]`). The tokens `[action]`, `[area]`, and `[controller]` are replaced with the values of the action name, area name, and controller name from the action where the route is defined. In the following example, the actions match URL paths as described in the comments:
1215+
For convenience, attribute routes support *token replacement* by enclosing a token in square-brackets (`[`, `]`). The tokens `[action]`, `[area]`, and `[controller]` are replaced with the values of the action name, area name, and controller name from the action where the route is defined. In the following example, the actions match URL paths as described in the comments:
12161216

12171217
[!code-csharp[](routing/samples/2.x/main/Controllers/ProductsController.cs?range=7-11,13-17,20-22)]
12181218

aspnetcore/mvc/models/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Internally, the attributes call `String.Format` with a placeholder for the field
7373

7474
When applied to a `Name` property, the error message created by the preceding code would be "Name length must be between 6 and 8.".
7575

76-
To find out which parameters are passed to `String.Format` for a particular attribute's error message, see the [DataAnnotations source code](https://github.com/dotnet/corefx/tree/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations).
76+
To find out which parameters are passed to `String.Format` for a particular attribute's error message, see the [DataAnnotations source code](https://github.com/dotnet/runtime/tree/master/src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations).
7777

7878
## [Required] attribute
7979

0 commit comments

Comments
 (0)