Skip to content

Commit 1e8ad70

Browse files
Merge pull request #35155 from dotnet/main
Merge to Live
2 parents 0ff1db4 + d5fb626 commit 1e8ad70

File tree

72 files changed

+968
-903
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+968
-903
lines changed

.github/ISSUE_TEMPLATE/doc-request.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ about: Request a new topic to help us improve
55

66
**Help us make content visible**
77

8-
- Tell us what search terms you used and how you searched docs.
9-
- Tell us what docs you found that didn't address your concern.
8+
* Tell us what search terms you used and how you searched docs.
9+
* Tell us what docs you found that didn't address your concern.
1010

1111
**Describe the new topic**
1212

13-
- Explain why this topic is needed.
14-
- Suggest a location in the Table of Contents.
15-
- Write an abstract. In one **short** paragraph, describe what this topic will cover.
16-
- Create an outline for the new topic. We'll help review the outline and approve it before anyone writes a topic.
13+
* Explain why this topic is needed.
14+
* Suggest a location in the Table of Contents.
15+
* Write an abstract. In one **short** paragraph, describe what this topic will cover.
16+
* Create an outline for the new topic. We'll help review the outline and approve it before anyone writes a topic.

aspnetcore/blazor/components/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,14 +1071,14 @@ For more information, see <xref:mvc/views/razor>.
10711071
> [!WARNING]
10721072
> Providing initial values for component parameters is supported, but don't create a component that writes to its own parameters after the component is rendered for the first time. For more information, see <xref:blazor/components/overwriting-parameters>.
10731073
1074-
Component parameters should be declared as *auto-properties*, meaning that they shouldn't contain custom logic in their `get` or `set` accessors. For example, the following `StartData` property is an auto-property:
1074+
Component parameters should be declared as [automatically-implemented properties (*auto properties*)](/dotnet/csharp/programming-guide/classes-and-structs/auto-implemented-properties), meaning that they shouldn't contain custom logic in their `get` or `set` accessors. For example, the following `StartData` property is an auto property:
10751075

10761076
```csharp
10771077
[Parameter]
10781078
public DateTime StartData { get; set; }
10791079
```
10801080

1081-
Don't place custom logic in the `get` or `set` accessor because component parameters are purely intended for use as a channel for a parent component to flow information to a child component. If a `set` accessor of a child component property contains logic that causes rerendering of the parent component, an infinite rendering loop results.
1081+
Don't place custom logic in the `get` or `set` accessor because component parameters are purely intended for use as a channel for a parent component to flow information to a child component. If a `set` accessor of a child component property contains logic that causes rerendering of the parent component, an infinite rendering loop results. Other side effects include unexpected extra renderings and parameter value overwrites.
10821082

10831083
To transform a received parameter value:
10841084

aspnetcore/blazor/fundamentals/routing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,7 @@ Navigation.GetUriWithQueryParameters("{URI}", {PARAMETERS})
10561056
Supported types are identical to supported types for route constraints:
10571057

10581058
* `bool`
1059+
* `DateOnly`
10591060
* `DateTime`
10601061
* `decimal`
10611062
* `double`
@@ -1064,6 +1065,7 @@ Supported types are identical to supported types for route constraints:
10641065
* `int`
10651066
* `long`
10661067
* `string`
1068+
* `TimeOnly`
10671069

10681070
Supported types include:
10691071

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
Before opening an issue:
22

3-
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
4-
- [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
5-
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs
6-
- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
3+
* [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
4+
* [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
5+
* Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs
6+
* Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
77

88
When asking general "how to" questions:
99

10-
- Please do not open an issue here
11-
- Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community)
10+
* Please do not open an issue here
11+
* Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community)
1212

1313
When reporting a bug, include:
1414

15-
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
16-
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
17-
- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com)
15+
* Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
16+
* Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
17+
* Reduced test cases and potential fixes using [JS Bin](https://jsbin.com)
1818

1919
When suggesting a feature, include:
2020

21-
- As much detail as possible for what we should add and why it's important to Bootstrap
22-
- Relevant links to prior art, screenshots, or live demos whenever possible
21+
* As much detail as possible for what we should add and why it's important to Bootstrap
22+
* Relevant links to prior art, screenshots, or live demos whenever possible

aspnetcore/data/scaffold_RP.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ To launch the interactive tool, run `dotnet scaffold`. The UI changes as more fe
3333

3434
To navigate the UI, use the:
3535

36-
- Up and down arrow keys to navigate the menu items.
37-
- Enter key to select the highlighted menu item.
38-
- Select and enter **Back** to return to the previous menu.
36+
* Up and down arrow keys to navigate the menu items.
37+
* Enter key to select the highlighted menu item.
38+
* Select and enter **Back** to return to the previous menu.
3939

4040
## Create and scaffold a data model in a Razor Pages project
4141

@@ -59,11 +59,11 @@ If you have any problems with the following steps, see [Tutorial: Create a Razor
5959
6060
The `dotnet scaffold` tool makes the following changes to the project files:
6161
62-
- A package reference is added for Entity Framework.
63-
- `Program.cs` is updated to initialize the database connection.
64-
- `appsettings.json` is updated with connection information.
65-
- `ContactDbContext.cs` is created and added to the project root directory.
66-
- Razor Pages for CRUD operations are added to the Pages folder.
62+
* A package reference is added for Entity Framework.
63+
* `Program.cs` is updated to initialize the database connection.
64+
* `appsettings.json` is updated with connection information.
65+
* `ContactDbContext.cs` is created and added to the project root directory.
66+
* Razor Pages for CRUD operations are added to the Pages folder.
6767
6868
The content has been generated but the database isn't initialized. Run the following commands to initialize the DB.
6969
@@ -75,10 +75,11 @@ dotnet ef database update
7575
```
7676

7777
In The preceding commands:
78-
- `dotnet tool uninstall --global dotnet-ef` uninstalls the `dotnet-ef` tool. Uninstalling ensures the latest tool is successfully installed. If `dotnet-ef` isn't installed, an error messages **A tool with the package Id 'dotnet-ef' could not be found.** You can ignore this message.
79-
- `dotnet tool install --global dotnet-ef` installs globally the `dotnet-ef` tool.
80-
- `dotnet ef migrations add initialMigration` adds the initial migration. For more information, see [Create the initial database schema using EF's migration feature](/aspnet/core/tutorials/razor-pages/model&tabs=visual-studio-code)
81-
- `dotnet ef database update` applies the migrations to the database.
78+
79+
* `dotnet tool uninstall --global dotnet-ef` uninstalls the `dotnet-ef` tool. Uninstalling ensures the latest tool is successfully installed. If `dotnet-ef` isn't installed, an error messages **A tool with the package Id 'dotnet-ef' could not be found.** You can ignore this message.
80+
* `dotnet tool install --global dotnet-ef` installs globally the `dotnet-ef` tool.
81+
* `dotnet ef migrations add initialMigration` adds the initial migration. For more information, see [Create the initial database schema using EF's migration feature](/aspnet/core/tutorials/razor-pages/model&tabs=visual-studio-code)
82+
* `dotnet ef database update` applies the migrations to the database.
8283

8384
Run the app:
8485

@@ -91,7 +92,7 @@ Run the app:
9192

9293
## Additional resources
9394

94-
- [dotnet scaffold repo on GitHub](https://github.com/dotnet/Scaffolding)
95-
- [How to manage .NET tools](/dotnet/core/tools/global-tools)
96-
- [Microsoft.dotnet-scaffold](https://www.nuget.org/packages/Microsoft.dotnet-scaffold) NuGet package.
97-
- [Detailed tutorial on EF scaffolding Razor Pages](/aspnet/core/data/scaffold_rp)
95+
* [dotnet scaffold repo on GitHub](https://github.com/dotnet/Scaffolding)
96+
* [How to manage .NET tools](/dotnet/core/tools/global-tools)
97+
* [Microsoft.dotnet-scaffold](https://www.nuget.org/packages/Microsoft.dotnet-scaffold) NuGet package.
98+
* [Detailed tutorial on EF scaffolding Razor Pages](/aspnet/core/data/scaffold_rp)

aspnetcore/diagnostics/bl0001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "BL0001: Component parameter should have public setters"
33
description: "Learn about analysis rule BL0001: Component parameter should have public setters"
4-
author: pranavkm
4+
author: guardrex
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.date: 10/21/2021

aspnetcore/diagnostics/bl0002.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "BL0002: Component has multiple CaptureUnmatchedValues parameters"
33
description: "Learn about analysis rule BL0002: Component has multiple CaptureUnmatchedValues parameters"
4-
author: pranavkm
4+
author: guardrex
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.date: 10/21/2021

aspnetcore/diagnostics/bl0003.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "BL0003: Component parameter with CaptureUnmatchedValues has the wrong type"
33
description: "Learn about analysis rule BL0003: Component parameter with CaptureUnmatchedValues has the wrong type"
4-
author: pranavkm
4+
author: guardrex
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.date: 10/21/2021

aspnetcore/diagnostics/bl0004.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "BL0004: Component parameter should be public"
33
description: "Learn about analysis rule BL0004: Component parameter should be public"
4-
author: pranavkm
4+
author: guardrex
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.date: 10/21/2021

aspnetcore/diagnostics/bl0005.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "BL0005: Component parameter should not be set outside of its component"
33
description: "Learn about analysis rule BL0005: Component parameter should not be set outside of its component"
4-
author: pranavkm
4+
author: guardrex
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.date: 10/21/2021

0 commit comments

Comments
 (0)