diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 78931468..295375a5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": ".NET in Codespaces", - "image": "mcr.microsoft.com/dotnet/sdk:9.0", + "image": "mcr.microsoft.com/dotnet/sdk:10.0", "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": {}, "ghcr.io/devcontainers/features/github-cli:1": { @@ -15,8 +15,8 @@ "ghcr.io/devcontainers/features/common-utils:2": {}, "ghcr.io/devcontainers/features/dotnet:2": { "version": "none", - "dotnetRuntimeVersions": "8.0", - "aspNetCoreRuntimeVersions": "8.0" + "dotnetRuntimeVersions": "10.0", + "aspNetCoreRuntimeVersions": "10.0" } }, "customizations": { @@ -40,7 +40,7 @@ }, "remoteEnv": { "DOTNET_MULTILEVEL_LOOKUP": "0", - "TARGET": "net9.0" + "TARGET": "net10.0" }, "portsAttributes": { "8080": { diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e92ab5c..3b22d25d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '9.0.x' + dotnet-version: '10.0.x' - name: Restore dependencies run: dotnet restore ${{ matrix.project }} diff --git a/.vscode/launch.json b/.vscode/launch.json index dc541dbb..b6ab9c86 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -19,7 +19,7 @@ "type": "coreclr", "request": "launch", "preLaunchTask": "build backend", - "program": "${workspaceFolder}/SampleApp/BackEnd/bin/Debug/net9.0/BackEnd.dll", + "program": "${workspaceFolder}/SampleApp/BackEnd/bin/Debug/net10.0/BackEnd.dll", "args": [], "cwd": "${workspaceFolder}/SampleApp/BackEnd", "stopAtEntry": false, @@ -40,7 +40,7 @@ "type": "coreclr", "request": "launch", "preLaunchTask": "build frontend", - "program": "${workspaceFolder}/SampleApp/FrontEnd/bin/Debug/net9.0/FrontEnd.dll", + "program": "${workspaceFolder}/SampleApp/FrontEnd/bin/Debug/net10.0/FrontEnd.dll", "args": [], "cwd": "${workspaceFolder}/SampleApp/FrontEnd", "stopAtEntry": false, diff --git a/SampleApp/BackEnd/BackEnd.csproj b/SampleApp/BackEnd/BackEnd.csproj index f5c98ff1..156feaf0 100644 --- a/SampleApp/BackEnd/BackEnd.csproj +++ b/SampleApp/BackEnd/BackEnd.csproj @@ -1,15 +1,15 @@ - net9.0 + net10.0 enable enable true - - + + diff --git a/SampleApp/FrontEnd/FrontEnd.csproj b/SampleApp/FrontEnd/FrontEnd.csproj index 6568b3dc..a3a34b64 100644 --- a/SampleApp/FrontEnd/FrontEnd.csproj +++ b/SampleApp/FrontEnd/FrontEnd.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/readme.md b/readme.md index 6a0b6a26..1b790aec 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ Want to try out the latest performance improvements coming with .NET for web development? -This repo builds a Weather API, OpenAPI integration to test with [Scalar](https://learn.microsoft.com/aspnet/core/fundamentals/openapi/using-openapi-documents?view=aspnetcore-9.0#use-scalar-for-interactive-api-documentation), and displays the data in a web application using Blazor with .NET. +This repo builds a Weather API, OpenAPI integration to test with [Scalar](https://learn.microsoft.com/aspnet/core/fundamentals/openapi/using-openapi-documents?view=aspnetcore-10.0#use-scalar-for-interactive-api-documentation), and displays the data in a web application using Blazor with .NET. We've given you both a frontend and backend to play around with and where you go from here is up to you!