JasonTaylorDev.RapidBlazor
7.0.0
See the version list below for details.
dotnet new install JasonTaylorDev.RapidBlazor::7.0.0
Rapid Blazor Template for .NET
This is a solution template for creating a Blazor WebAssembly application hosted on ASP.NET Core 6 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! ⭐
Getting Started
The solution template requires the latest version of .NET 6 SDK.
Install the project template:
dotnet new --install JasonTaylorDev.RapidBlazor
Create a new app:
dotnet new rapid-blazor-sln --output RapidBlazor21
Launch the app:
cd RapidBlazor21\src\WebUI\Server
dotnet run
Database
Configuration
The template is currently configured to use SQL Server Express LocalDB for development and Azure SQL once deployed. I understand this will be difficult for some developers, and will look other options in the near future.
Migrations
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\Server
Review the Entity Framework Core tools reference - .NET Core CLI | Microsoft Docs to learn more.
Deploy
The project can easily be deployed to Azure using the included GitHub Actions workflows and Bicep templates. Review the Deployment instructions to learn how.
Resources
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
Support
If you are having problems, please let me know by creating an issue.
License
This project is licensed with the MIT 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.
Initial version.