Wangkanai.Architecture.Template 8.0.0-preview5

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of Wangkanai.Architecture.Template.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet new install Wangkanai.Architecture.Template::8.0.0-preview5
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.template

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 blazor-clean -n YourSolutionName -o YourOutputDirectory

Launch the app:

cd src\Server
dotnet watch

To learn more about what options are available, run dotnet new blazor-clean --help.

dotnet new blazor-clean --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 blazor-clean --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.

This package has 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