intro-to-dotnet-web-dev/.devcontainer/devcontainer.json

36 lines
935 B
JSON
Raw Normal View History

2023-06-30 20:34:02 +02:00
// 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",
2023-06-30 20:34:02 +02:00
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
2024-01-17 22:02:40 +01:00
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
2023-06-30 20:34:02 +02:00
// Features to add to the dev container. More info: https://containers.dev/features.
2024-01-17 22:53:20 +01:00
"features": {},
2023-06-30 20:34:02 +02:00
"customizations": {
2024-01-17 22:53:20 +01:00
"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"
}
}
2023-06-30 20:34:02 +02:00
}