mirror of
https://github.com/dotnet/intro-to-dotnet-web-dev.git
synced 2026-01-04 07:30:01 +01:00
36 lines
935 B
JSON
36 lines
935 B
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
|
|
{
|
|
"name": "Intro to .NET webdev",
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
"features": {},
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-dotnettools.csdevkit"
|
|
]
|
|
}
|
|
},
|
|
"forwardPorts": [
|
|
5007,
|
|
5101,
|
|
5112
|
|
],
|
|
"postCreateCommand": "dotnet restore",
|
|
"portsAttributes": {
|
|
"5007": {
|
|
"label": "Blazor Connect Four"
|
|
},
|
|
"5101": {
|
|
"label": "RazorPagesPizza"
|
|
},
|
|
"5112": {
|
|
"label": "Pizza API"
|
|
}
|
|
}
|
|
}
|