Wangkanai.Architecture.Templates 0.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. 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 5,992 11/15/2023
0.0.21 2,838 11/14/2023
0.0.20 2,967 11/14/2023
0.0.19 2,937 11/14/2023
0.0.18 2,763 11/14/2023
0.0.17 2,849 11/14/2023
0.0.16 2,927 11/13/2023
0.0.15 2,804 11/13/2023
0.0.14 2,868 11/13/2023
0.0.13 2,839 11/12/2023
0.0.12 2,956 11/12/2023
0.0.11 2,784 11/12/2023
0.0.10 2,855 11/12/2023
0.0.9 2,613 11/12/2023
0.0.8 2,890 11/12/2023
0.0.7 2,874 11/12/2023
0.0.6 2,724 11/12/2023
0.0.5 3,260 11/11/2023
0.0.4 3,097 11/11/2023
0.0.2 2,941 11/11/2023
0.0.1 3,141 11/10/2023
0.0.0 3,150 11/10/2023