Wangkanai.Architecture.Templates 0.0.10

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.10                
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

Elevate your development experience across the board with our comprehensive Clean Architecture template, thoughtfully designed to cater to a wide range of .NET 8 applications, including Blazor, Maui for mobile platforms, and the upcoming support for ASP.NET Core MVC and Razor Pages. This cutting-edge template is embedded with an advanced Blazor Identity UI, boasting additional functionality and a Tabler admin portal integration for a sophisticated, modern user interface.

Our template embodies the Domain-Driven Design (DDD) philosophy, offering a robust and flexible starting point for crafting scalable and maintainable web and mobile applications. It’s architected to encourage a separation of concerns, with each functionality neatly encapsulated within its own project. This modular approach streamlines both maintenance and evolution of your applications, accommodating changes and growth with ease.

Dive into a rich ecosystem of NuGet packages from wangkanai, providing an array of tools and extensions that are handpicked to accelerate your development workflow. This template isn’t just a launchpad—it’s a comprehensive toolkit designed to boost your productivity, allowing you to concentrate on innovative features and core functionalities.

As you embark on building responsive web applications or native mobile experiences, our template ensures you’re well-equipped for the present and prepared for the future. Embrace the full spectrum of .NET 8 capabilities and join a community of developers who are pushing the boundaries of technology with our Blazor Clean Architecture template.

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.

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
0.1.0 6,237 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