Skip to content

Commit 03adaa6

Browse files
updates and fixes
1 parent b6df3df commit 03adaa6

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": ".NET in Codespaces",
3-
"image": "mcr.microsoft.com/dotnet/sdk:8.0",
3+
"image": "mcr.microsoft.com/dotnet/sdk:9.0",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
66
"ghcr.io/devcontainers/features/github-cli:1": {
@@ -15,8 +15,8 @@
1515
"ghcr.io/devcontainers/features/common-utils:2": {},
1616
"ghcr.io/devcontainers/features/dotnet:2": {
1717
"version": "none",
18-
"dotnetRuntimeVersions": "7.0",
19-
"aspNetCoreRuntimeVersions": "7.0"
18+
"dotnetRuntimeVersions": "9.0",
19+
"aspNetCoreRuntimeVersions": "9.0"
2020
}
2121
},
2222
"customizations": {
@@ -42,7 +42,7 @@
4242
},
4343
"remoteEnv": {
4444
"DOTNET_MULTILEVEL_LOOKUP": "0",
45-
"TARGET": "net8.0"
45+
"TARGET": "net9.0"
4646
},
4747
"portsAttributes": {
4848
"8080": {

.vscode/launch.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
"order": 1
99
},
1010
"configurations": [
11-
"Back End",
12-
"Front End"
11+
"BackEnd",
12+
"FrontEnd"
1313
]
1414
}
1515
],
1616
"configurations": [
1717
{
18-
"name": "Back End",
18+
"name": "BackEnd",
1919
"type": "coreclr",
2020
"request": "launch",
2121
"preLaunchTask": "build backend",
22-
"program": "${workspaceFolder}/SampleApp/BackEnd/bin/Debug/net8.0/BackEnd.dll",
22+
"program": "${workspaceFolder}/SampleApp/BackEnd/bin/Debug/net9.0/BackEnd.dll",
2323
"args": [],
2424
"cwd": "${workspaceFolder}/SampleApp/BackEnd",
2525
"stopAtEntry": false,
@@ -36,11 +36,11 @@
3636
}
3737
},
3838
{
39-
"name": "Front End",
39+
"name": "FrontEnd",
4040
"type": "coreclr",
4141
"request": "launch",
4242
"preLaunchTask": "build frontend",
43-
"program": "${workspaceFolder}/SampleApp/FrontEnd/bin/Debug/net8.0/FrontEnd.dll",
43+
"program": "${workspaceFolder}/SampleApp/FrontEnd/bin/Debug/net9.0/FrontEnd.dll",
4444
"args": [],
4545
"cwd": "${workspaceFolder}/SampleApp/FrontEnd",
4646
"stopAtEntry": false,

SampleApp/BackEnd/BackEnd.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<InvariantGlobalization>true</InvariantGlobalization>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0-preview.4.23260.4" />
12-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.2" />
12+
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.3.1" />
1313
</ItemGroup>
1414

1515
</Project>

SampleApp/FrontEnd/FrontEnd.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# GitHub Codespaces ♥️ .NET 8
1+
# GitHub Codespaces ♥️ .NET
22

33
Want to try out the latest performance improvements coming with .NET 8 for web development?
44

5-
This repo builds a Weather API using Minimal APIs, opens Swagger so you can call and test the API, and displays the data in a web application using Blazor with .NET 8.
5+
This repo builds a Weather API using .NET APIs, opens Swagger so you can call and test the API, and displays the data in a web application using Blazor with .NET.
66

77
We've given you both a frontend and backend to play around with and where you go from here is up to you!
88

@@ -14,7 +14,7 @@ Everything you do here is contained within this one codespace. There is no repos
1414
[![Open in Dev Container](https://img.shields.io/static/v1?style=for-the-badge&label=Dev+Container&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/github/dotnet-codespaces)
1515

1616
You can also run this repository locally by following these instructions:
17-
1. Clone the repo to your local machine `git clone https://github.com/bradygaster/dotnet-codespace`
17+
1. Clone the repo to your local machine `git clone https://github.com/github/dotnet-codespace`
1818
1. Open repo in VS Code
1919

2020
## Getting started

0 commit comments

Comments
 (0)