Skip to content

Commit 22b25f2

Browse files
committed
Update Blazor WebAssembly Template to version 2.3.0 and .NET 9.0
1 parent 92bd745 commit 22b25f2

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
[license-url]: https://github.com/Genocs/blazor-wasm-template/blob/main/LICENSE
1818
[build-shield]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml/badge.svg?branch=main
1919
[build-url]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml
20-
[package-shield]: https://img.shields.io/badge/nuget-v.2.2.0-blue?&label=latests&logo=nuget
20+
[package-shield]: https://img.shields.io/badge/nuget-v.2.3.0-blue?&label=latests&logo=nuget
2121
[package-url]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml
2222
[downloads-shield]: https://img.shields.io/nuget/dt/Genocs.Microservice.Template.svg?color=2da44e&label=downloads&logo=nuget
2323
[downloads-url]: https://www.nuget.org/packages/Genocs.Microservice.Template
@@ -48,7 +48,7 @@
4848
</a>
4949
<h3 align="center">Blazor WebAssembly Template</h3>
5050
<p align="center">
51-
Open Source Solution Template For Blazor Web-Assembly 6.0 built with MudBlazor Components
51+
Open Source Solution Template for <a href="https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor">Blazor</a> <a href="https://webassembly.org/">WebAssembly</a> 6.0 built with <a href="https://mudblazor.com/">MudBlazor</a> Components
5252
<br />
5353
<a href="https://genocs-blog.netlify.app/blazor-wasm-template/general/getting-started/"><strong>Read the Documentation »</strong></a>
5454
<br />
@@ -64,7 +64,7 @@
6464
## Blazor WebAssembly Template
6565

6666
The template can be used with the `genocs cli`, `dotnet new` command or with the `Visual Studio 2022`, `Visual Studio Code` IDEs.
67-
Built with .NET8 and MudBlazor Component Library. Incorporates the most essential packages your projects will ever need. Follows Clean Architecture Principles.
67+
Built with .NET9 and MudBlazor Component Library. Incorporates the most essential packages your projects will ever need. Follows Clean Architecture Principles.
6868

6969
## Goals
7070

@@ -89,20 +89,20 @@ dotnet new --install Genocs.BlazorWasm.Template
8989
or, if you want to use a specific version of the template, use
9090

9191
```bash
92-
dotnet new --install Genocs.BlazorWasm.Template::2.2.0
92+
dotnet new --install Genocs.BlazorWasm.Template::2.3.0
9393
```
9494

9595
This would install the `Genocs Blazor WebAssembly Template` globally on your machine. Do note that, at the time of writing this documentation, the latest available version is **1.2.0** which is also one of the first stable release version of the package. It is highly likely that there is already a newer version available when you are reading this.
9696

9797
> *To get the latest version of the package, visit [nuget.org](https://www.nuget.org/packages/Genocs.BlazorWasm.Template/)*
9898
>
9999
100-
**Genocs.BlazorWasm.Template::2.2.0 is compatible only with Genocs.Microservice.Template::2.0.0 and above.**
100+
**Genocs.BlazorWasm.Template::2.3.0 is compatible only with Genocs.Microservice.Template::2.3.0 and above.**
101101

102102
Get the .NET WebApi Microservice Template by running the following command
103103

104104
```
105-
dotnet new --install Genocs.Microservice.Template::2.0.0
105+
dotnet new --install Genocs.Microservice.Template::2.3.0
106106
```
107107

108108
For more details on getting started, [read the documentation](https://genocs-blog.netlify.app/blazor-wasm-template/general/overview/)

README_NUGET.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
[license-url]: https://github.com/Genocs/blazor-wasm-template/blob/main/LICENSE
1818
[build-shield]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml/badge.svg?branch=main
1919
[build-url]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml
20-
[package-shield]: https://img.shields.io/badge/nuget-v.2.2.0-blue?&label=latests&logo=nuget
20+
[package-shield]: https://img.shields.io/badge/nuget-v.2.3.0-blue?&label=latests&logo=nuget
2121
[package-url]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml
2222
[downloads-shield]: https://img.shields.io/nuget/dt/Genocs.Microservice.Template.svg?color=2da44e&label=downloads&logo=nuget
2323
[downloads-url]: https://www.nuget.org/packages/Genocs.Microservice.Template
@@ -47,7 +47,7 @@
4747
## Blazor WebAssembly Template
4848

4949
The template can be used with the `genocs cli`, `dotnet new` command or with the `Visual Studio 2022`, `Visual Studio Code` IDEs.
50-
Built with .NET8 and MudBlazor Component Library. Incorporates the most essential packages your projects will ever need. Follows Clean Architecture Principles.
50+
Built with .NET9 and MudBlazor Component Library. Incorporates the most essential packages your projects will ever need. Follows Clean Architecture Principles.
5151

5252
## Goals
5353

@@ -71,12 +71,12 @@ dotnet new --install Genocs.BlazorWasm.Template
7171

7272
This would install the `Genocs Blazor WebAssembly Template` globally on your machine.
7373

74-
**Genocs.BlazorWasm.Template::2.2.0 is compatible only with Genocs.Microservice.Template::2.0.0 and above.**
74+
**Genocs.BlazorWasm.Template::2.3.0 is compatible only with Genocs.Microservice.Template::2.3.0 and above.**
7575

7676
Get the .NET WebApi Microservice Template by running the following command
7777

7878
```
79-
dotnet new --install Genocs.Microservice.Template::2.0.0
79+
dotnet new --install Genocs.Microservice.Template::2.3.0
8080
```
8181

8282
For more details on getting started, [read the documentation](https://genocs-blog.netlify.app/blazor-wasm-template/general/overview/)

src/Package.Template.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="5.10.0">
44
<id>Genocs.BlazorWasm.Template</id>
5-
<version>1.0.0</version>
5+
<version>2.3.0</version>
66
<title>Genocs - Blazor WebAssembly Template</title>
77
<authors>Nocco Giovanni Emanuele</authors>
88
<owners>[Genocs] Nocco Giovanni Emanuele</owners>
@@ -13,7 +13,7 @@
1313
<readme>.\content\README_NUGET.md</readme>
1414
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1515
<copyright>2024</copyright>
16-
<description>Clean Architecture Template for .NET8 Blazor WebAssembly built for Genocs WebAPI with MudBlazor Components.</description>
16+
<description>Clean Architecture Template for .NET9 Blazor WebAssembly built for Genocs WebAPI with MudBlazor Components.</description>
1717
<language>en-US</language>
1818
<packageTypes>
1919
<packageType name="Template" />

src/template/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"identity": "Genocs.BlazorWasm.Template",
1515
"name": "Genocs: Blazor WebAssembly Template",
16-
"description": "Blazor WebAssembly Template for .NET8 built for Genocs WebAPI with MudBlazor Components.",
16+
"description": "Blazor WebAssembly Template for .NET9 built for Genocs WebAPI with MudBlazor Components.",
1717
"groupIdentity": "Genocs.BlazorWasm.Template",
1818
"shortName": "gnx-blazorwasm",
1919
"sourceName": "Genocs.BlazorWasm.Template", // Will replace the string 'Genocs.BlazorWasm.Template' with the value provided via -n.

src/template/dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
44
WORKDIR /app
55
EXPOSE 80
66
EXPOSE 443
77

8-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
8+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
99
WORKDIR /src
1010
COPY ["src/Host", "Host/"]
1111
COPY ["src/Shared", "Shared/"]

src/template/src/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
[license-url]: https://github.com/Genocs/blazor-wasm-template/blob/main/LICENSE
1818
[build-shield]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml/badge.svg?branch=main
1919
[build-url]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml
20-
[package-shield]: https://img.shields.io/badge/nuget-v.2.2.0-blue?&label=latests&logo=nuget
20+
[package-shield]: https://img.shields.io/badge/nuget-v.2.3.0-blue?&label=latests&logo=nuget
2121
[package-url]: https://github.com/Genocs/blazor-wasm-template/actions/workflows/build_and_test.yml
2222
[downloads-shield]: https://img.shields.io/nuget/dt/Genocs.Microservice.Template.svg?color=2da44e&label=downloads&logo=nuget
2323
[downloads-url]: https://www.nuget.org/packages/Genocs.Microservice.Template
@@ -173,10 +173,10 @@ dotnet run --project ./src/Host
173173

174174
``` bash
175175
# Build webapi
176-
docker build -t genocs/genocs.bazorwasm.template-portal:2.0.0 -t genocs/genocs.bazorwasm.template-portal:latest -f ./dockerfile .
176+
docker build -t genocs/genocs.bazorwasm.template-portal:2.3.0 -t genocs/genocs.bazorwasm.template-portal:latest -f ./dockerfile .
177177

178178
# Push on Dockerhub
179-
docker push genocs/genocs.bazorwasm.template-portal:2.0.0
179+
docker push genocs/genocs.bazorwasm.template-portal:2.3.0
180180
docker push genocs/genocs.bazorwasm.template-portal:latest
181181
```
182182
---

0 commit comments

Comments
 (0)