This is a solution template for creating a MudBlazor Web App with client side rendering and following the principles of Clean Architecture.
Please consider this a preview, I am still actively working on this template. If you spot a problem or would like to suggest an improvement, please let me know by creating an issue.
If you find this project useful, please give it a star. Thanks! ⭐
The solution template requires the latest version of .NET 8 SDK.
Create a new app:
dotnet new clean-architecture-mudblazored --output CleanArchitecture
Launch the app:
cd CleanArchitecture\src\WebUi\WebUi
dotnet run
The template is currently configured to use SQL Server Express LocalDB for development.
The template uses Entity Framework Core and migrations can be run using the EF Core CLI Tools. Install the tools using the following command:
dotnet tool install --global dotnet-ef
Once installed, create a new migration with the following commands:
cd src\Infrastructure
dotnet ef migrations add "Initial" --startup-project ..\WebUi\WebUi --context ApplicationDbContext --out-dir Data\Migrations
Review the Entity Framework Core tools reference - .NET Core CLI | Microsoft Docs to learn more.
The following resources are highly recommended:
-
Deploy Azure resources by using Bicep and GitHub Actions | Microsoft Learn
-
Automate administrative tasks by using PowerShell - Training | Microsoft Learn
This project is licensed with the MIT license.