From 174dc8647aa1068b7d9f9533b2509f5d1cea375d Mon Sep 17 00:00:00 2001 From: Drazen Soronda Date: Wed, 19 Jan 2022 10:24:00 +0100 Subject: [PATCH 1/6] update target framework to dotnet 6 + github action update --- .github/workflows/dotnet.yml | 2 +- src/Application/Application.csproj | 3 ++- src/Client.Infrastructure/Client.Infrastructure.csproj | 3 ++- src/Client/Client.csproj | 3 ++- src/Domain/Domain.csproj | 3 ++- src/Infrastructure.Shared/Infrastructure.Shared.csproj | 3 ++- src/Infrastructure/Infrastructure.csproj | 3 ++- src/Server/Server.csproj | 3 ++- src/Shared/Shared.csproj | 3 ++- 9 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c320ea1a6..5538fe304 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x + dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore working-directory: src/Server diff --git a/src/Application/Application.csproj b/src/Application/Application.csproj index 3959ed29a..b64fcbfba 100644 --- a/src/Application/Application.csproj +++ b/src/Application/Application.csproj @@ -1,9 +1,10 @@  - net5.0 + net6.0 BlazorHero.CleanArchitecture.Application BlazorHero.CleanArchitecture.Application + latest diff --git a/src/Client.Infrastructure/Client.Infrastructure.csproj b/src/Client.Infrastructure/Client.Infrastructure.csproj index 6e4c1be20..8a9daf89e 100644 --- a/src/Client.Infrastructure/Client.Infrastructure.csproj +++ b/src/Client.Infrastructure/Client.Infrastructure.csproj @@ -1,9 +1,10 @@  - net5.0 + net6.0 BlazorHero.CleanArchitecture.Client.Infrastructure BlazorHero.CleanArchitecture.Client.Infrastructure + latest diff --git a/src/Client/Client.csproj b/src/Client/Client.csproj index eccf9e8fa..40493e9f5 100644 --- a/src/Client/Client.csproj +++ b/src/Client/Client.csproj @@ -1,10 +1,11 @@  - net5.0 + net6.0 true BlazorHero.CleanArchitecture.Client BlazorHero.CleanArchitecture.Client + latest diff --git a/src/Domain/Domain.csproj b/src/Domain/Domain.csproj index acfc9a72a..1d154e506 100644 --- a/src/Domain/Domain.csproj +++ b/src/Domain/Domain.csproj @@ -1,9 +1,10 @@ - net5.0 + net6.0 BlazorHero.CleanArchitecture.Domain BlazorHero.CleanArchitecture.Domain + latest diff --git a/src/Infrastructure.Shared/Infrastructure.Shared.csproj b/src/Infrastructure.Shared/Infrastructure.Shared.csproj index 9c8976759..6f4d69001 100644 --- a/src/Infrastructure.Shared/Infrastructure.Shared.csproj +++ b/src/Infrastructure.Shared/Infrastructure.Shared.csproj @@ -1,9 +1,10 @@ - net5.0 + net6.0 BlazorHero.CleanArchitecture.Infrastructure.Shared BlazorHero.CleanArchitecture.Infrastructure.Shared + latest diff --git a/src/Infrastructure/Infrastructure.csproj b/src/Infrastructure/Infrastructure.csproj index 9497c90ee..0469c8f67 100644 --- a/src/Infrastructure/Infrastructure.csproj +++ b/src/Infrastructure/Infrastructure.csproj @@ -1,9 +1,10 @@  - net5.0 + net6.0 BlazorHero.CleanArchitecture.Infrastructure BlazorHero.CleanArchitecture.Infrastructure + latest - - + + diff --git a/src/Server/Server.csproj b/src/Server/Server.csproj index 615485975..ad4229d13 100644 --- a/src/Server/Server.csproj +++ b/src/Server/Server.csproj @@ -24,7 +24,7 @@ - + From 3ae9bb1e76e6d6a14f2aac1e9066dacc9ef5028e Mon Sep 17 00:00:00 2001 From: Farshad Davoudi Date: Sat, 28 May 2022 10:04:17 +0430 Subject: [PATCH 6/6] Update Readme to cope with .Net 6 Updates --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 76f9361e5..b2f44a5a7 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@

BlazorHero - Clean Architecture Template

- Open Sourced Solution Template For Blazor Web-Assembly 5.0 built with MudBlazor Components + Open Sourced Solution Template For Blazor Web-Assembly 6.0 built with MudBlazor Components
Read the Documentation »
@@ -43,7 +43,7 @@ ## About The Project :zap: -BlazorHero is a Clean Architecture Solution Template for Blazor Webassembly 5.0 built with MudBlazor Components. +BlazorHero is a Clean Architecture Solution Template for Blazor Webassembly 6.0 built with MudBlazor Components. ## Complete Overview - Youtube Video 🆕 📈 @@ -55,8 +55,8 @@ So, here is an in-depth video that takes you through the BlazorHero Project! Do ### Tech Stack :muscle: -- Blazor WebAssembly 5.0 - ASP.NET Core Hosted Model -- [Entity Framework Core 5.0](https://docs.microsoft.com/en-us/ef/core/) +- Blazor WebAssembly 6.0 - ASP.NET Core Hosted Model +- [Entity Framework Core 6.0](https://docs.microsoft.com/en-us/ef/core/) # BlazorHero v2.2 @@ -92,7 +92,7 @@ If you are already using Blazor Hero v1.x, make sure that you drop your existing The easiest way to get started with Blazor Hero is to install the [NuGet package](https://www.nuget.org/packages/BlazorHero.CleanArchitecture/) and run `dotnet new BlazorHero.CleanArchitecture`: -1. Install the latest [.NET 5 SDK](https://dotnet.microsoft.com/download/dotnet/5.0) +1. Install the latest [.NET 6 SDK](https://dotnet.microsoft.com/download/dotnet/5.0) 2. Install the latest DOTNET & EF CLI Tools by using this command `dotnet tool install --global dotnet-ef` 3. Install the latest version of Visual Studio IDE 2019 (v16.8 and above) 🚀 4. Open up Command Prompt and run `dotnet new --install BlazorHero.CleanArchitecture` to install the project template