Skip to content

Commit cd6e0f9

Browse files
authored
Merge branch 'main' into guardrex/blazor-add-key-vault-code-example
2 parents 10cec6d + 75b820f commit cd6e0f9

File tree

348 files changed

+120852
-5026
lines changed

Some content is hidden

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

348 files changed

+120852
-5026
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Blank issue
3+
about: Create an issue to help us improve
4+
---
5+
6+
# Before you open an issue
7+
8+
If the issue is with an ASP.NET Core document:
9+
10+
* Do **not** open a new issue using this form.
11+
* Open the issue using the **Open a documentation issue** link and feedback form at the bottom of the article.
12+
13+
Using the **Open a documentation issue** link and form to open an issue adds article metadata for tracking, which indicates the article that you're commenting on and pings the author for a faster response.
14+
15+
If the issue is:
16+
17+
* A simple typo or similar correction, you can submit a PR. See the Contributor Guide for instructions: https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents
18+
* A general support question, consider asking on a support forum:
19+
* Stack Overflow: https://stackoverflow.com/questions/tagged/asp.net-core
20+
* ASP.NET Core Slack: https://aspnetcore.slack.com/join/shared_invite/zt-1mv5487zb-EOZxJ1iqb0A0ajowEbxByQ#/shared-invite/email
21+
* ASP.NET Gitter: https://gitter.im/aspnet/Home
22+
* A site design concern, create an issue at MicrosoftDocs/Feedback: https://github.com/MicrosoftDocs/Feedback/issues/new/choose
23+
* A problem completing a tutorial, compare your code with the completed sample.
24+
* A duplicate of an open or closed issue, leave a comment on that issue.

.github/ISSUE_TEMPLATE/doc-issue.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ Using the **Open a documentation issue** link and form to open an issue adds art
1414

1515
If the issue is:
1616

17-
* A simple typo or similar correction, you can submit a PR. See [the contributor guide](https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents) for instructions.
18-
* A general support question, consider asking on a support forum site.
19-
* A site design concern, create an issue at [MicrosoftDocs/Feedback](https://github.com/MicrosoftDocs/Feedback/issues/new/choose).
17+
* A simple typo or similar correction, you can submit a PR. See the Contributor Guide for instructions: https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents
18+
* A general support question, consider asking on a support forum:
19+
* Stack Overflow: https://stackoverflow.com/questions/tagged/asp.net-core
20+
* ASP.NET Core Slack: https://aspnetcore.slack.com/join/shared_invite/zt-1mv5487zb-EOZxJ1iqb0A0ajowEbxByQ#/shared-invite/email
21+
* ASP.NET Gitter: https://gitter.im/aspnet/Home
22+
* A site design concern, create an issue at MicrosoftDocs/Feedback: https://github.com/MicrosoftDocs/Feedback/issues/new/choose
2023
* A problem completing a tutorial, compare your code with the completed sample.
2124
* A duplicate of an open or closed issue, leave a comment on that issue.
2225

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Issue processing
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
process-blazor-issue:
8+
if: contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/hybrid')
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- uses: actions/github-script@v6
14+
with:
15+
script: |
16+
await github.rest.issues.addLabels({
17+
issue_number: context.issue.number,
18+
owner: context.repo.owner,
19+
repo: context.repo.repo,
20+
labels: ["aspnet-core/svc"]
21+
})
22+
await github.rest.issues.addLabels({
23+
issue_number: context.issue.number,
24+
owner: context.repo.owner,
25+
repo: context.repo.repo,
26+
labels: ["blazor-hybrid/subsvc"]
27+
})
28+
await github.rest.issues.addLabels({
29+
issue_number: context.issue.number,
30+
owner: context.repo.owner,
31+
repo: context.repo.repo,
32+
labels: ["Blazor Hybrid"]
33+
})
34+
await github.rest.issues.addAssignees({
35+
issue_number: context.issue.number,
36+
owner: context.repo.owner,
37+
repo: context.repo.repo,
38+
assignees: ["guardrex", "BethMassi"]
39+
})
40+
await github.rest.issues.removeLabel({
41+
issue_number: context.issue.number,
42+
owner: context.repo.owner,
43+
repo: context.repo.repo,
44+
name: [":watch: Not Triaged"]
45+
})

.github/workflows/blazor-issue-processing.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ name: Issue processing
22
on:
33
issues:
44
types:
5-
- labeled
5+
- opened
66
jobs:
77
process-blazor-issue:
8-
if: github.event.label.name == 'blazor/subsvc'
8+
if: (contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor')
9+
&& !contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/hybrid'))
10+
|| contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/client-side/dotnet-interop/index.md')
11+
|| contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/client-side/dotnet-interop/wasm-browser-app.md')
12+
|| contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/views/tag-helpers/built-in/component-tag-helper.md')
13+
|| contains(github.event.issue.body, 'https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/views/tag-helpers/built-in/persist-component-state.md')
914
runs-on: ubuntu-latest
1015
permissions:
1116
issues: write
@@ -20,6 +25,18 @@ jobs:
2025
body: `### 🍂🎃🏮 *Autumn Skies and Pumpkin Pies!* 🥧☕🍂
2126
Stand by! A green dinosaur 🦖 will arrive shortly to assist.`
2227
})
28+
await github.rest.issues.addLabels({
29+
issue_number: context.issue.number,
30+
owner: context.repo.owner,
31+
repo: context.repo.repo,
32+
labels: ["aspnet-core/svc"]
33+
})
34+
await github.rest.issues.addLabels({
35+
issue_number: context.issue.number,
36+
owner: context.repo.owner,
37+
repo: context.repo.repo,
38+
labels: ["blazor/subsvc"]
39+
})
2340
await github.rest.issues.addLabels({
2441
issue_number: context.issue.number,
2542
owner: context.repo.owner,

.github/workflows/issue-processing.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,3 @@ jobs:
3535
repo: context.repo.repo,
3636
labels: ["SignalR"]
3737
})
38-
39-
process-blazorhybrid-issue:
40-
if: github.event.label.name == 'blazor-hybrid/subsvc'
41-
runs-on: ubuntu-latest
42-
permissions:
43-
issues: write
44-
steps:
45-
- uses: actions/github-script@v6
46-
with:
47-
script: |
48-
await github.rest.issues.addLabels({
49-
issue_number: context.issue.number,
50-
owner: context.repo.owner,
51-
repo: context.repo.repo,
52-
labels: ["Blazor Hybrid"]
53-
})
54-
await github.rest.issues.addAssignees({
55-
issue_number: context.issue.number,
56-
owner: context.repo.owner,
57-
repo: context.repo.repo,
58-
assignees: ["guardrex", "BethMassi"]
59-
})
60-
await github.rest.issues.removeLabel({
61-
issue_number: context.issue.number,
62-
owner: context.repo.owner,
63-
repo: context.repo.repo,
64-
name: [":watch: Not Triaged"]
65-
})

.openpublishing.build.ps1

Lines changed: 0 additions & 17 deletions
This file was deleted.

.openpublishing.publish.config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@
6363
"url": "https://github.com/dotnet/AspNetCore.Docs.Samples",
6464
"branch": "main",
6565
"branch_mapping": {}
66+
},
67+
{
68+
"path_to_root": "_razor",
69+
"url": "https://github.com/dotnet/razor",
70+
"branch": "main",
71+
"include_in_build": true,
72+
"branch_mapping": {}
6673
}
6774
],
6875
"branch_target_mapping": {

.openpublishing.redirection.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"redirections": [
33
{
44
"source_path": "aspnetcore/web-api/microsoft.dotnet-openapi.md",
@@ -10,6 +10,11 @@
1010
"redirect_url": "/aspnet/core/fundamentals/openapi/aspnetcore-openapi",
1111
"redirect_document_id": false
1212
},
13+
{
14+
"source_path": "aspnetcore/fundamentals/openapi/buildtime-openapi.md",
15+
"redirect_url": "/aspnet/core/fundamentals/openapi/aspnetcore-openapi#generate-openapi-documents-at- build-time",
16+
"redirect_document_id": false
17+
},
1318
{
1419
"source_path": "aspnetcore/security/authentication/samples.md",
1520
"redirect_url": "/aspnet/core/security/authorization/introduction",
@@ -1112,7 +1117,7 @@
11121117
},
11131118
{
11141119
"source_path": "aspnetcore/blazor/integrate-components.md",
1115-
"redirect_url": "/aspnet/core/blazor/components/prerendering-and-integration",
1120+
"redirect_url": "/aspnet/core/blazor/components/integration",
11161121
"redirect_document_id": false
11171122
},
11181123
{
@@ -1152,7 +1157,7 @@
11521157
},
11531158
{
11541159
"source_path": "aspnetcore/blazor/components/integrate-components-into-razor-pages-and-mvc-apps.md",
1155-
"redirect_url": "/aspnet/core/blazor/components/prerendering-and-integration",
1160+
"redirect_url": "/aspnet/core/blazor/components/integration",
11561161
"redirect_document_id": false
11571162
},
11581163
{
@@ -1312,6 +1317,11 @@
13121317
"source_path": "aspnetcore/blazor/images.md",
13131318
"redirect_url": "/aspnet/core/blazor/images-and-documents",
13141319
"redirect_document_id": false
1320+
},
1321+
{
1322+
"source_path": "aspnetcore/blazor/components/prerendering-and-integration.md",
1323+
"redirect_url": "/aspnet/core/blazor/components/integration",
1324+
"redirect_document_id": false
13151325
}
13161326
]
13171327
}

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,23 @@ This repository contains the [ASP.NET Core documentation](https://learn.microsof
55
To provide comments and suggestions on [learn.microsoft.com](https://learn.microsoft.com) site functionality, open an issue in the [`MicrosoftDocs/feedback` GitHub repository](https://github.com/MicrosoftDocs/feedback).
66

77
ASP.NET 4.x documentation changes are made in the [`dotnet/AspNetDocs` GitHub repository](https://github.com/dotnet/AspNetDocs).
8+
9+
## How to open an issue
10+
11+
If the issue is with an ASP.NET Core document:
12+
13+
* Do **not** open a blank issue.
14+
* Open the issue using the **Open a documentation issue** link and feedback form at the bottom of the article.
15+
16+
Using the **Open a documentation issue** link and form to open an issue adds article metadata for tracking, which indicates the article that you're commenting on and automatically pings the author for a faster response.
17+
18+
If the issue is:
19+
20+
* A simple typo or similar correction, you can submit a PR. See [the contributor guide](https://docs.microsoft.com/contribute/#quick-edits-to-existing-documents) for instructions.
21+
* A general support question, consider asking on a support forum site:
22+
* [Stack Overflow](https://stackoverflow.com/questions/tagged/asp.net-core)
23+
* [ASP.NET Core Slack](https://aspnetcore.slack.com/join/shared_invite/zt-1mv5487zb-EOZxJ1iqb0A0ajowEbxByQ#/shared-invite/email)
24+
* [ASP.NET Gitter](https://gitter.im/aspnet/Home)
25+
* A site design concern, create an issue at [MicrosoftDocs/Feedback](https://github.com/MicrosoftDocs/Feedback/issues/new/choose).
26+
* A problem completing a tutorial, compare your code with the completed sample.
27+
* A duplicate of an open or closed issue, leave a comment on that issue.

aspnetcore/blazor/advanced-scenarios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to incorporate manual logic for building Blazor render tr
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 08/26/2024
8+
ms.date: 11/12/2024
99
uid: blazor/advanced-scenarios
1010
---
1111
# ASP.NET Core Blazor advanced scenarios (render tree construction)

0 commit comments

Comments
 (0)