diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 4a01d0c..edc75e1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -22,7 +22,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/README.md b/README.md index 4bd0c0f..ba1dbc7 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Two methods for downloading files are demonstrated: - [Technologies](#technologies) # Prerequisites -* **.NET SDK 9.0+** +* **.NET SDK 10.0+** * **Angular CLI 19+** * **Node.js 20.11.1+** @@ -84,7 +84,7 @@ In this solution, each 'code' project has its own unit test project and every ** The frontend is a simple Angular project that demonstrates how to upload and download files as blobs or FormData from the C# API. Files are saved to the Downloads folder using the [file-saver](https://www.npmjs.com/package/file-saver) library. For styling, the project utilizes [Bootstrap](https://getbootstrap.com/). It also includes examples of displaying modals with [ng-bootstrap](https://www.npmjs.com/package/@ng-bootstrap/ng-bootstrap) and showing toasts/notifications with [angular-notifier](https://www.npmjs.com/package/gramli-angular-notifier). Additionally, it demonstrates how to use translations in an Angular project with the [@ngx-translate/core](https://ngx-translate.org/) library, including a custom implementation of TranslateLoader to handle multiple translation files. ## Technologies -* [ASP.NET Core 9](https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core?view=aspnetcore-9.0) +* [ASP.NET Core 10](https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core?view=aspnetcore-10.0) * [Entity Framework Core InMemory](https://learn.microsoft.com/en-us/ef/core/providers/in-memory/?tabs=dotnet-core-cli) * [SmallApiToolkit](https://github.com/Gramli/SmallApiToolkit) * [Mapster](https://github.com/MapsterMapper/Mapster) diff --git a/src/File.API/File.API.csproj b/src/File.API/File.API.csproj index ec84d76..1618abb 100644 --- a/src/File.API/File.API.csproj +++ b/src/File.API/File.API.csproj @@ -1,17 +1,17 @@  - net9.0 + net10.0 enable enable - + - - + + diff --git a/src/File.Core/File.Core.csproj b/src/File.Core/File.Core.csproj index 96ea6d8..64af443 100644 --- a/src/File.Core/File.Core.csproj +++ b/src/File.Core/File.Core.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable @@ -9,11 +9,11 @@ - - - - - + + + + + diff --git a/src/File.Domain/File.Domain.csproj b/src/File.Domain/File.Domain.csproj index 513e412..6540a1f 100644 --- a/src/File.Domain/File.Domain.csproj +++ b/src/File.Domain/File.Domain.csproj @@ -1,14 +1,14 @@  - net9.0 + net10.0 enable enable - + diff --git a/src/File.Infrastructure/File.Infrastructure.csproj b/src/File.Infrastructure/File.Infrastructure.csproj index fff7ad1..68c60ab 100644 --- a/src/File.Infrastructure/File.Infrastructure.csproj +++ b/src/File.Infrastructure/File.Infrastructure.csproj @@ -1,18 +1,18 @@  - net9.0 + net10.0 enable enable - + - - - + + + diff --git a/src/Tests/IntegrationTests/File.Infrastructure.IntegrationTests/File.Infrastructure.IntegrationTests.csproj b/src/Tests/IntegrationTests/File.Infrastructure.IntegrationTests/File.Infrastructure.IntegrationTests.csproj index 4de0f5f..848c7b2 100644 --- a/src/Tests/IntegrationTests/File.Infrastructure.IntegrationTests/File.Infrastructure.IntegrationTests.csproj +++ b/src/Tests/IntegrationTests/File.Infrastructure.IntegrationTests/File.Infrastructure.IntegrationTests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable @@ -9,9 +9,9 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Tests/SystemTests/File.API.SystemTests/File.API.SystemTests.csproj b/src/Tests/SystemTests/File.API.SystemTests/File.API.SystemTests.csproj index 63d7ebf..d231509 100644 --- a/src/Tests/SystemTests/File.API.SystemTests/File.API.SystemTests.csproj +++ b/src/Tests/SystemTests/File.API.SystemTests/File.API.SystemTests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable @@ -9,10 +9,10 @@ - - + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Tests/UnitTests/File.API.UnitTests/File.API.UnitTests.csproj b/src/Tests/UnitTests/File.API.UnitTests/File.API.UnitTests.csproj index 8dd7d6e..a617278 100644 --- a/src/Tests/UnitTests/File.API.UnitTests/File.API.UnitTests.csproj +++ b/src/Tests/UnitTests/File.API.UnitTests/File.API.UnitTests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable @@ -9,9 +9,9 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Tests/UnitTests/File.Core.UnitTests/File.Core.UnitTests.csproj b/src/Tests/UnitTests/File.Core.UnitTests/File.Core.UnitTests.csproj index b402484..6a4148a 100644 --- a/src/Tests/UnitTests/File.Core.UnitTests/File.Core.UnitTests.csproj +++ b/src/Tests/UnitTests/File.Core.UnitTests/File.Core.UnitTests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable @@ -9,10 +9,10 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Tests/UnitTests/File.Domain.UnitTests/File.Domain.UnitTests.csproj b/src/Tests/UnitTests/File.Domain.UnitTests/File.Domain.UnitTests.csproj index 8dd7d6e..a617278 100644 --- a/src/Tests/UnitTests/File.Domain.UnitTests/File.Domain.UnitTests.csproj +++ b/src/Tests/UnitTests/File.Domain.UnitTests/File.Domain.UnitTests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable @@ -9,9 +9,9 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Tests/UnitTests/File.Infrastructure.UnitTests/File.Infrastructure.UnitTests.csproj b/src/Tests/UnitTests/File.Infrastructure.UnitTests/File.Infrastructure.UnitTests.csproj index 2cb956e..6e7ad8b 100644 --- a/src/Tests/UnitTests/File.Infrastructure.UnitTests/File.Infrastructure.UnitTests.csproj +++ b/src/Tests/UnitTests/File.Infrastructure.UnitTests/File.Infrastructure.UnitTests.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable @@ -9,10 +9,10 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Tests/UnitTests/File.UnitTests.Common/File.UnitTests.Common.csproj b/src/Tests/UnitTests/File.UnitTests.Common/File.UnitTests.Common.csproj index 04ac517..95542df 100644 --- a/src/Tests/UnitTests/File.UnitTests.Common/File.UnitTests.Common.csproj +++ b/src/Tests/UnitTests/File.UnitTests.Common/File.UnitTests.Common.csproj @@ -1,13 +1,13 @@  - net9.0 + net10.0 enable enable - +