intro-to-dotnet-web-dev/.devcontainer/devcontainer.json
2024-01-17 13:53:20 -08:00

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"
}
}
}