Skip to content

Commit fe51ed6

Browse files
Initial commit
0 parents  commit fe51ed6

Some content is hidden

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

47 files changed

+2172
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": ".NET in Codespaces",
3+
"image": "mcr.microsoft.com/dotnet/sdk:8.0",
4+
"features": {
5+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
6+
"ghcr.io/devcontainers/features/github-cli:1": {
7+
"version": "2"
8+
},
9+
"ghcr.io/devcontainers/features/powershell:1": {
10+
"version": "latest"
11+
},
12+
"ghcr.io/azure/azure-dev/azd:0": {
13+
"version": "latest"
14+
},
15+
"ghcr.io/devcontainers/features/common-utils:2": {},
16+
"ghcr.io/devcontainers/features/dotnet:2": {
17+
"version": "none",
18+
"dotnetRuntimeVersions": "7.0",
19+
"aspNetCoreRuntimeVersions": "7.0"
20+
}
21+
},
22+
"customizations": {
23+
"vscode": {
24+
"extensions": [
25+
"ms-vscode.vscode-node-azure-pack",
26+
"GitHub.copilot",
27+
"GitHub.vscode-github-actions",
28+
"ms-dotnettools.vscode-dotnet-runtime",
29+
"ms-dotnettools.csdevkit",
30+
"ms-dotnettools.csharp"
31+
]
32+
}
33+
},
34+
"forwardPorts": [
35+
8080,
36+
8081
37+
],
38+
"postCreateCommand": "cd ./SampleApp && dotnet restore",
39+
"hostRequirements": {
40+
"memory": "8gb",
41+
"cpus": 4
42+
},
43+
"remoteEnv": {
44+
"DOTNET_MULTILEVEL_LOOKUP": "0",
45+
"TARGET": "net8.0"
46+
},
47+
"portsAttributes": {
48+
"8080": {
49+
"label": "Weather API",
50+
"onAutoForward": "notify"
51+
},
52+
"8081": {
53+
"label": "Weather Front End",
54+
"onAutoForward": "notify"
55+
}
56+
}
57+
}

.devcontainer/icon.svg

Lines changed: 7 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)