Wangkanai.Architecture.Templates 0.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet new install Wangkanai.Architecture.Templates::0.0.0                
This package contains a .NET Template Package you can call from the shell/command line.

Blazor Clean Architecture

Build Status Nuget Nuget

Quality Gate Status Code Smells Coverage

Open Collective Patreon GitHub

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,240 11/15/2023
0.0.21 2,862 11/14/2023
0.0.20 2,991 11/14/2023
0.0.19 2,963 11/14/2023
0.0.18 2,789 11/14/2023
0.0.17 2,873 11/14/2023
0.0.16 2,953 11/13/2023
0.0.15 2,831 11/13/2023
0.0.14 2,910 11/13/2023
0.0.13 2,874 11/12/2023
0.0.12 2,982 11/12/2023
0.0.11 2,820 11/12/2023
0.0.10 2,884 11/12/2023
0.0.9 2,640 11/12/2023
0.0.8 2,919 11/12/2023
0.0.7 2,897 11/12/2023
0.0.6 2,748 11/12/2023
0.0.5 3,287 11/11/2023
0.0.4 3,124 11/11/2023
0.0.2 2,976 11/11/2023
0.0.1 3,177 11/10/2023
0.0.0 3,207 11/10/2023