Skip to content

Commit b67e688

Browse files
committed
Enhance README and project configuration for Blazor WebAssembly Template
- Updated README.md to clarify project structure and backend repository information. - Revised package metadata in Package.Template.csproj, including improved descriptions and tags. - Added release notes for version 3.0.0 and updated copyright information. - Streamlined file inclusions and exclusions for NuGet packaging.
1 parent af56a7b commit b67e688

File tree

2 files changed

+52
-43
lines changed

2 files changed

+52
-43
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,16 @@ The template generates a solution with the following structure:
116116

117117
```pl
118118
src/
119-
├── Client/ # Acceptance Tests
120-
├── Host/ # Use cases and application services
121-
├── Infrastructure/ # Data access and external services
122-
└── Shared/ # API contracts and events
119+
├── Client/ # Blazor WebAssembly Client Application
120+
├── Host/ # ASP.NET Core Host Project
121+
├── Infrastructure/ # Infrastructure layer (Auth, API Client, Notifications, Preferences, Themes)
122+
└── Shared/ # Shared contracts, events, and domain models
123123
```
124124

125125

126126
> Note that this is a frontend/client application only!
127127
>
128-
> The backend for this application is available in a seperate repository.
128+
> The backend for this application is available in a separate repository.
129129
> - Find Genocs's .NET Web API template here - [microservice-template](https://github.com/Genocs/microservice-template)
130130
131131
## Getting Started

src/Package.Template.csproj

Lines changed: 47 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,67 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<!-- Package Metadata -->
4+
<TargetFramework>net9.0</TargetFramework>
5+
<PackageType>Template</PackageType>
6+
<PackageVersion>3.0.0</PackageVersion>
57
<PackageId>Genocs.BlazorWasm.Template</PackageId>
6-
<Version>3.0.0</Version>
78
<Title>Genocs - Blazor WebAssembly Template</Title>
89
<Authors>Nocco Giovanni Emanuele</Authors>
9-
<Owners>[Genocs] Nocco Giovanni Emanuele</Owners>
10-
<PackageProjectUrl>https://genocs-blog.netlify.app/blazor-template/general/overview</PackageProjectUrl>
11-
<RepositoryType>git</RepositoryType>
12-
<RepositoryUrl>https://github.com/Genocs/blazor-wasm-template.git</RepositoryUrl>
10+
<Description>A .NET Blazor WebAssembly Template with MudBlazor for Genocs Microservice Template.</Description>
11+
<PackageTags>blazor;genocs;solution;csharp;wasm;webassembly;mudblazor</PackageTags>
12+
<PackageProjectUrl>https://github.com/Genocs/blazor-wasm-template</PackageProjectUrl>
1313
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1414
<PackageIcon>icon.png</PackageIcon>
1515
<PackageReadmeFile>README_NUGET.md</PackageReadmeFile>
16-
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
17-
<Copyright>2025</Copyright>
18-
<Description>Blazor WebAssembly Template with MudBlazor for Genocs Microservice Template.</Description>
19-
<PackageTags>blazor genocs solution csharp wasm webassembly mudblazor</PackageTags>
20-
<PackageType>Template</PackageType>
16+
<RepositoryUrl>https://github.com/Genocs/blazor-wasm-template.git</RepositoryUrl>
17+
<RepositoryBranch>main</RepositoryBranch>
18+
<RepositoryType>git</RepositoryType>
19+
<Copyright>Copyright (c) 2025 Genocs</Copyright>
20+
<PackageReleaseNotes>Release notes:
21+
- Release 3.0.0:
22+
- Updated to .NET 9
23+
- Improved Docker support
24+
</PackageReleaseNotes>
2125
<Language>en-US</Language>
22-
<MinClientVersion>5.10.0</MinClientVersion>
23-
24-
<!-- Build Settings -->
25-
<TargetFramework>netstandard2.0</TargetFramework>
2626
<IncludeBuildOutput>false</IncludeBuildOutput>
27-
<NoBuild>true</NoBuild>
27+
<IncludeSymbols>false</IncludeSymbols>
28+
<IncludeSource>false</IncludeSource>
29+
<EnableDefaultItems>false</EnableDefaultItems>
30+
<NoWarn>$(NoWarn);NU5128</NoWarn>
31+
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
32+
<DevelopmentDependency>true</DevelopmentDependency>
2833
<NoDefaultExcludes>true</NoDefaultExcludes>
2934
</PropertyGroup>
3035

3136
<ItemGroup>
32-
<!-- Include icon -->
33-
<None Include="icon.png" Pack="true" PackagePath="icon.png" />
34-
35-
<!-- Include README -->
37+
<!-- Include README and icon at root for NuGet package metadata (PackageIcon and PackageReadmeFile) -->
38+
<None Include="..\icon.png" Pack="true" PackagePath="icon.png" />
3639
<None Include="README_NUGET.md" Pack="true" PackagePath="README_NUGET.md" />
3740

38-
<!-- Include all template files -->
39-
<None Include="template\**\*" Pack="true" PackagePath="content\%(RecursiveDir)%(Filename)%(Extension)" />
41+
<!-- Also include README and icon in content folder (matching nuspec file targets) -->
42+
<None Include="README_NUGET.md" Pack="true" PackagePath="content\README_NUGET.md" />
43+
<None Include="..\icon.png" Pack="true" PackagePath="content\icon.png" />
4044

41-
<!-- Exclude files that shouldn't be in the package -->
42-
<None Remove="template\**\bin\**" />
43-
<None Remove="template\**\obj\**" />
44-
<None Remove="template\**\.git\**" />
45-
<None Remove="template\**\*.user" />
46-
<None Remove="template\**\.vs\**" />
47-
<None Remove="template\**\Images\**" />
48-
<None Remove="template\**\Logs\**" />
49-
<None Remove="template\**\.terraform\**" />
50-
<None Remove="template\**\.terraform.lock.hcl" />
51-
<None Remove="template\**\terraform.tfstate" />
52-
<None Remove="template\**\*.nupkg" />
53-
<None Remove="template\**\nupkg" />
54-
<None Remove="template\**\assets\**" />
45+
<!-- Include all template files in content folder with proper exclusions (matching nuspec) -->
46+
<Content Include="template\**\*"
47+
Exclude="template\**\bin\**;
48+
template\**\obj\**;
49+
template\**\.git\**;
50+
template\**\.github\**;
51+
template\**\*.user;
52+
template\**\.vs\**;
53+
template\**\.vscode\**;
54+
template\**\Images\**;
55+
template\**\Logs\**;
56+
template\**\.terraform\**;
57+
template\**\.terraform.lock.hcl;
58+
template\**\terraform.tfstate;
59+
template\**\*.nupkg;
60+
template\**\nupkg;
61+
template\**\assets\**;
62+
template\**\*.log;
63+
template\**\*.exe"
64+
PackagePath="content\%(RecursiveDir)%(Filename)%(Extension)" />
5565
</ItemGroup>
5666

57-
</Project>
58-
67+
</Project>

0 commit comments

Comments
 (0)