Skip to content

Commit a14ba0d

Browse files
Updated md table formatting of the diagnostics (#35062)
1 parent 46e2b03 commit a14ba0d

39 files changed

+189
-188
lines changed

aspnetcore/diagnostics/asp0000.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0000
99
---
1010
# ASP0000: Do not call 'IServiceCollection.BuildServiceProvider' in 'ConfigureServices'
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0000|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0000 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0001.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0001
99
---
1010
# ASP0001: Authorization middleware is incorrectly configured
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0001|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0001 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0003.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0003
99
---
1010
# ASP0003: Do not use model binding attributes with route handlers
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0003|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0003 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0004.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0004
99
---
1010
# ASP0004: Do not use action results with route handlers
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0004|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0004 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0005.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0005
99
---
1010
# ASP0005: Do not place attribute on method called by route handler lambda
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0005|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0005 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0006.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0006
99
---
1010
# ASP0006: Do not use non-literal sequence numbers
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0006|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0006 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0007.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0007
99
---
1010
# ASP0007: Route parameter and argument optionality is mismatched
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0007|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0007 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0008.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0008
99
---
1010
# ASP0008: Do not use ConfigureWebHost with WebApplicationBuilder.Host
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0008|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0008 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0009.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0009
99
---
1010
# ASP0009: Do not use Configure with WebApplicationBuilder.WebHost
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0009|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0009 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0010.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0010
99
---
1010
# ASP0010: Do not use UseStartup with WebApplicationBuilder.WebHost
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0010|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0010 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0011.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0011
99
---
1010
# ASP0011: Suggest using builder.Logging over Host.ConfigureLogging or WebHost.ConfigureLogging
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0011|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0011 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0012.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0012
99
---
1010
# ASP0012: Suggest using builder.Services over Host.ConfigureServices or WebHost.ConfigureServices
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0012|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0012 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0013.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0013
99
---
1010
# ASP0013: Suggest switching from using Configure methods to WebApplicationBuilder.Configuration
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0013|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0013 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0014.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ ms.date: 09/27/2022
88
uid: diagnostics/asp0014
99
---
1010
# ASP0014: Suggest using top level route registrations
11-
| | Value |
12-
|-|-|
13-
| **Rule ID** |ASP0014|
14-
| **Category** |Usage|
15-
| **Fix is breaking or non-breaking** |Non-breaking|
11+
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0014 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1617

1718
## Cause
1819

aspnetcore/diagnostics/asp0015.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0015
99
---
1010
# ASP0015: Suggest using IHeaderDictionary properties
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0015|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0015 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0016.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0016
99
---
1010
# ASP0016: Do not return a value from RequestDelegate
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0016|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0016 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0017.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0017
99
---
1010
# ASP0017: Invalid route pattern
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0017|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0017 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0018.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0018
99
---
1010
# ASP0018: Unused route parameter
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0018|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0018 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0019.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0019
99
---
1010
# ASP0019: Suggest using IHeaderDictionary.Append or the indexer
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0019|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0019 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0020.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0020
99
---
1010
# ASP0020: Complex types referenced by route parameters must be parsable
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0020|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0020 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0021.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0021
99
---
1010
# ASP0021: The return type of the BindAsync method must be `ValueTask<T>`.
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0021|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0021 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0022.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0022
99
---
1010
# ASP0022: Route conflict detected between route handlers
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0022|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0022 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

aspnetcore/diagnostics/asp0023.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ uid: diagnostics/asp0023
99
---
1010
# ASP0023: Route conflict detected between route handlers
1111

12-
| | Value |
13-
|-|-|
14-
| **Rule ID** |ASP0023|
15-
| **Category** |Usage|
16-
| **Fix is breaking or non-breaking** |Non-breaking|
12+
| | Value |
13+
| - | - |
14+
| **Rule ID** | ASP0023 |
15+
| **Category** | Usage |
16+
| **Fix is breaking or non-breaking** | Non-breaking |
1717

1818
## Cause
1919

0 commit comments

Comments
 (0)