Skip to content

Commit 09f5757

Browse files
Updated the incorrect list bullets (#35154)
1 parent 85856f2 commit 09f5757

File tree

61 files changed

+921
-895
lines changed

Some content is hidden

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

61 files changed

+921
-895
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.
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/mvc1000.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Rendering a partial using `IHtmlHelper.Partial` or `IHtmlHelper.RenderPartial` e
2424

2525
## How to fix violations
2626

27-
- Use the <xref:Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>
28-
- Use the <xref:Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions.PartialAsync%2A> or <xref:Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions.RenderPartialAsync%2A>
27+
* Use the <xref:Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>
28+
* Use the <xref:Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions.PartialAsync%2A> or <xref:Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperPartialExtensions.RenderPartialAsync%2A>
2929

3030
## When to suppress warnings
3131

aspnetcore/fundamentals/apis.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ Both API projects refer to the following class:
3434

3535
Minimal APIs have many of the same capabilities as controller-based APIs. They support the configuration and customization needed to scale to multiple APIs, handle complex routes, apply authorization rules, and control the content of API responses. There are a few capabilities available with controller-based APIs that are not yet supported or implemented by minimal APIs. These include:
3636

37-
- No built-in support for model binding (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider>, <xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder>). Support can be added with a custom binding shim.
38-
- No built-in support for validation (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator>).
39-
- No support for [application parts](xref:mvc/extensibility/app-parts) or the [application model](xref:mvc/controllers/application-model). There's no way to apply or build your own conventions.
40-
- No built-in view rendering support. We recommend using [Razor Pages](xref:tutorials/razor-pages/razor-pages-start) for rendering views.
41-
- No support for [JsonPatch](https://www.nuget.org/packages/Microsoft.AspNetCore.JsonPatch/)
42-
- No support for [OData](https://www.nuget.org/packages/Microsoft.AspNetCore.OData/)
37+
* No built-in support for model binding (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider>, <xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder>). Support can be added with a custom binding shim.
38+
* No built-in support for validation (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator>).
39+
* No support for [application parts](xref:mvc/extensibility/app-parts) or the [application model](xref:mvc/controllers/application-model). There's no way to apply or build your own conventions.
40+
* No built-in view rendering support. We recommend using [Razor Pages](xref:tutorials/razor-pages/razor-pages-start) for rendering views.
41+
* No support for [JsonPatch](https://www.nuget.org/packages/Microsoft.AspNetCore.JsonPatch/)
42+
* No support for [OData](https://www.nuget.org/packages/Microsoft.AspNetCore.OData/)
4343

4444
## See also
4545

aspnetcore/fundamentals/includes/apis6.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Both API projects refer to the following class:
2020

2121
Minimal APIs have many of the same capabilities as controller-based APIs. They support the configuration and customization needed to scale to multiple APIs, handle complex routes, apply authorization rules, and control the content of API responses. There are a few capabilities available with controller-based APIs that are not yet supported or implemented by minimal APIs. These include:
2222

23-
- No built-in support for model binding (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider>, <xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder>). Support can be added with a custom binding shim.
24-
- No support for binding from forms. This includes binding <xref:Microsoft.AspNetCore.Http.IFormFile>.
25-
- No built-in support for validation (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator>).
26-
- No support for [application parts](xref:mvc/extensibility/app-parts) or the [application model](xref:mvc/controllers/application-model). There's no way to apply or build your own conventions.
27-
- No built-in view rendering support. We recommend using [Razor Pages](xref:tutorials/razor-pages/razor-pages-start) for rendering views.
28-
- No support for [JsonPatch](https://www.nuget.org/packages/Microsoft.AspNetCore.JsonPatch/)
29-
- No support for [OData](https://www.nuget.org/packages/Microsoft.AspNetCore.OData/)
23+
* No built-in support for model binding (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider>, <xref:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder>). Support can be added with a custom binding shim.
24+
* No support for binding from forms. This includes binding <xref:Microsoft.AspNetCore.Http.IFormFile>.
25+
* No built-in support for validation (<xref:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator>).
26+
* No support for [application parts](xref:mvc/extensibility/app-parts) or the [application model](xref:mvc/controllers/application-model). There's no way to apply or build your own conventions.
27+
* No built-in view rendering support. We recommend using [Razor Pages](xref:tutorials/razor-pages/razor-pages-start) for rendering views.
28+
* No support for [JsonPatch](https://www.nuget.org/packages/Microsoft.AspNetCore.JsonPatch/)
29+
* No support for [OData](https://www.nuget.org/packages/Microsoft.AspNetCore.OData/)
3030

3131
## See also
3232

aspnetcore/fundamentals/minimal-apis/security.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ In some cases, such as controlling middleware order, it's necessary to explicitl
5151

5252
Authentication strategies typically support a variety of configurations that are loaded via options. Minimal apps support loading options from configuration for the following authentication strategies:
5353

54-
- [JWT bearer-based](https://jwt.io/introduction)
55-
- [OpenID Connection-based](https://openid.net/developers/how-connect-works/)
54+
* [JWT bearer-based](https://jwt.io/introduction)
55+
* [OpenID Connection-based](https://openid.net/developers/how-connect-works/)
5656

5757
The ASP.NET Core framework expects to find these options under the `Authentication:Schemes:{SchemeName}` section in [configuration](/aspnet/core/fundamentals/configuration). In the following sample, two different schemes, `Bearer` and `LocalAuthIssuer`, are defined with their respective options. The `Authentication:DefaultScheme` option can be used to configure the default authentication strategy that's used.
5858

@@ -102,13 +102,13 @@ Configuring authorization requirements on a resource is a two-step process that
102102

103103
In the following code, <xref:Microsoft.Extensions.DependencyInjection.PolicyServiceCollectionExtensions.AddAuthorizationBuilder%2A> is invoked which:
104104

105-
- Adds authorization-related services to the DI container.
106-
- Returns an <xref:Microsoft.AspNetCore.Authorization.AuthorizationBuilder> that can be used to directly register authorization policies.
105+
* Adds authorization-related services to the DI container.
106+
* Returns an <xref:Microsoft.AspNetCore.Authorization.AuthorizationBuilder> that can be used to directly register authorization policies.
107107

108108
The code creates a new authorization policy, named `admin_greetings`, that encapsulates two authorization requirements:
109109

110-
- A role-based requirement via <xref:Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder.RequireRole%2A> for users with an `admin` role.
111-
- A claim-based requirement via <xref:Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder.RequireClaim%2A> that the user must provide a `greetings_api` scope claim.
110+
* A role-based requirement via <xref:Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder.RequireRole%2A> for users with an `admin` role.
111+
* A claim-based requirement via <xref:Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder.RequireClaim%2A> that the user must provide a `greetings_api` scope claim.
112112

113113
The `admin_greetings` policy is provided as a required policy to the `/hello` endpoint.
114114

aspnetcore/fundamentals/openapi/include-metadata.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,9 +516,10 @@ public record Todo(
516516
In a class, struct, or record, properties with the [`[Required]`](xref:System.ComponentModel.DataAnnotations.RequiredAttribute) attribute or [required](/dotnet/csharp/language-reference/proposals/csharp-11.0/required-members#required-modifier) modifier are always `required` in the corresponding schema.
517517
518518
Other properties may also be required based on the constructors (implicit and explicit) for the class, struct, or record.
519-
- For a class or record class with a single public constructor, any property with the same type and name (case-insensitive match) as a parameter to the constructor is required in the corresponding schema.
520-
- For a class or record class with multiple public constructors, no other properties are required.
521-
- For a struct or record struct, no other properties are required since C# always defines an implicit parameterless constructor for a struct.
519+
520+
* For a class or record class with a single public constructor, any property with the same type and name (case-insensitive match) as a parameter to the constructor is required in the corresponding schema.
521+
* For a class or record class with multiple public constructors, no other properties are required.
522+
* For a struct or record struct, no other properties are required since C# always defines an implicit parameterless constructor for a struct.
522523
523524
#### enum
524525

0 commit comments

Comments
 (0)