Wangkanai.Architecture.Templates
0.0.0
Prefix Reserved
See the version list below for details.
dotnet new install Wangkanai.Architecture.Templates::0.0.0
Blazor Clean Architecture
Blazor Clean Architecture design template build natively for .NET 8 using Blazor Identity UI (added extend functionality) with Tabler admin portal. This is template is designed to be a starting point for your Blazor application using the principle of domain driven design (DDD). The application design architecture is to have everything in their separate project. This allows for the application to be broken down into smaller pieces and allows for easier maintenance and development. The application template utilizes lots of NuGet packages dependencies from wangkanai. It’s provide extra tools and extensions to help simplify software development and let you focus on what is important to get everything startup and running as soon as possible.
If you find this project useful, please give it a star. Thanks! ⭐
Getting Start
The easily way to get started using this template is install the following template below:
dotnet new install wangkanai.architecture.templates
Once installed, you can create a new solution using the template. At this customization is still limited and will be improve in the future.
dotnet new clean-blazor -n YourSolutionName -o YourOutputDirectory
Launch the app:
cd src\Server
dotnet watch
To learn more about what options are available, run dotnet new clean-blazor --help
.
dotnet new clean-blazor --help
Database
The template is configured to use SQL Server by default. To use a different database, you will need to update the following command:
dotnet new clean-blazor --use-dbproivder <dbproivder>
When you run the application the database will be created (if it does not already exist) and the latest migrations will be applied. Running database migrations is very simple. Just add the flags to your command (assume that you are executing from the repository root):
--project src\Infrastructure
--startup-project src\Server
--output-dir Data\Migrations
For example, too add a new migration named Initial
you would run the following command from the root folder:
dotnet ef migrations add "Initial" --project src\Infrastructure --startup-project src\Server --output-dir Data\Migrations
Support
If you need any help, please let me know by opening a new GitHub issue.
License
This project is licensed with the Apache-2.0 license.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0 | 6,235 | 11/15/2023 |
0.0.21 | 2,860 | 11/14/2023 |
0.0.20 | 2,989 | 11/14/2023 |
0.0.19 | 2,961 | 11/14/2023 |
0.0.18 | 2,787 | 11/14/2023 |
0.0.17 | 2,871 | 11/14/2023 |
0.0.16 | 2,951 | 11/13/2023 |
0.0.15 | 2,829 | 11/13/2023 |
0.0.14 | 2,908 | 11/13/2023 |
0.0.13 | 2,872 | 11/12/2023 |
0.0.12 | 2,980 | 11/12/2023 |
0.0.11 | 2,818 | 11/12/2023 |
0.0.10 | 2,882 | 11/12/2023 |
0.0.9 | 2,635 | 11/12/2023 |
0.0.8 | 2,917 | 11/12/2023 |
0.0.7 | 2,895 | 11/12/2023 |
0.0.6 | 2,746 | 11/12/2023 |
0.0.5 | 3,285 | 11/11/2023 |
0.0.4 | 3,122 | 11/11/2023 |
0.0.2 | 2,974 | 11/11/2023 |
0.0.1 | 3,175 | 11/10/2023 |
0.0.0 | 3,183 | 11/10/2023 |