ASP.NET Core container quickstart: `docker-run: debug` task sample is missing its closing brace
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp, docker, json, markdown
- Domain
- documentation
Research direction
The broken sample is the last JSON block in docs/containers/quickstart-aspnet-core.md, around lines 146-163, for the docker-run: debug task. Open that file, find the snippet that ends after the netCore block, and add the closing brace of the task object. Done when the snippet parses as a complete JSON object, for example with jsonc-parser, and the leading space before the first brace is removed.
Written by the indexing model from the issue text.
Description
Page: Tutorial: Create and containerize an ASP.NET Core app (docs/containers/quickstart-aspnet-core.md)
Problem
The last JSON sample on the page, which shows how to expose a fixed host port by changing the docker-run: debug task in .vscode/tasks.json, is missing its closing }. The object opened on the first line is never closed, so the snippet is not valid JSON and can't be pasted into tasks.json as shown:
{
"type": "docker-run",
"label": "docker-run: debug",
"dependsOn": [
"docker-build: debug"
],
"dockerRun": {
"ports": [
{ "hostPort": 5000, "containerPort": 5000 }
]
},
"netCore": {
"appProject": "${workspaceFolder}/netcorerest.csproj",
"enableDebugging": true
}
The braces open 3 times ({ task, dockerRun, netCore) but close only twice (dockerRun and netCore); the closing brace of the task object is missing. The same snippet is on the published page (checked today): it ends right after the netCore block.
I found this by parsing the fenced json blocks in docs/, api/, remote/ and learn/ with jsonc-parser; most reported blocks are intentional settings fragments, but this is the one complete task object that fails with CloseBraceExpected.
Expected
The sample is a complete, valid JSON object:
{
"type": "docker-run",
"label": "docker-run: debug",
"dependsOn": [
"docker-build: debug"
],
"dockerRun": {
"ports": [
{ "hostPort": 5000, "containerPort": 5000 }
]
},
"netCore": {
"appProject": "${workspaceFolder}/netcorerest.csproj",
"enableDebugging": true
}
}
(The leading space before the first { can go as well.)
Fix
Add the missing } at the end of the snippet in docs/containers/quickstart-aspnet-core.md (around line 146-163).
- Dominant language
- Markdown
- Stars
- 6.7k
- Forks
- 5.8k
- Avg merge
- 8h 41m
- Merged PRs (30d)
- 123
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode-docs
-
Security and enterprise docs overstate policy enforcement for Copilot harness sessions (ChatAgentMode, ChatMCP, network filter, tool approval)Possibly taken @alok-108 claimed this 2 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 18/100
microsoft/vscode-docs#10489 ·
Maintainers usually reply within 1 day
-
Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds (span:nth-child(6)):A11y_code.visualstudio.com_AI4WPossibly taken @ntrogh claimed this 12 days ago. Open
microsoft/vscode-docs#10424 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
idea
Difficulty 3/5 1-2 days Newbie friendliness 45/100
microsoft/vscode-docs#10216 · 1 comment ·
Maintainers usually reply within 1 day
-
Add troubleshooting steps for the spawning of excessive rg processesPossibly taken @ntrogh claimed this 122 days ago. Opendoc-enhancement
microsoft/vscode-docs#9950 · 1 assignee ·
Maintainers usually reply within 1 day
-
Tie feature update/creation with corrected/available documentation before release.May be free again @ntrogh claimed this 151 days ago, and no pull request is open. Opendocs-experience
microsoft/vscode-docs#9761 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in microsoft/vscode-docs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
aws-samples/sample-per-model-bedrock#321 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
FavioVazquez/showtime#101 ·
Maintainers usually reply within 1 day
-
tech-debt
Difficulty 2/5 Half a day Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
バグ・誤り・不備
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
lean-ja/lean-by-example#2641 ·
-
agent-butler-finding chore
Difficulty 1/5 Under an hour Newbie friendliness 90/100
jordansmall/spindrift#5575 ·
Maintainers usually reply within 1 day