GithubHelp home page GithubHelp logo

morfseven / rapidblazor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasontaylordev/rapidblazor

0.0 0.0 0.0 438 KB

Clean Architecture Solution Template for Blazor WebAssembly .NET 7

License: MIT License

JavaScript 0.03% C# 86.29% PowerShell 1.78% CSS 2.10% HTML 7.67% Gherkin 0.11% Bicep 2.02%

rapidblazor's Introduction

Rapid Blazor Template for .NET

Build+Deploy Nuget Nuget Discord Twitter Follow

This is a solution template for creating a Blazor WebAssembly application hosted on ASP.NET Core 7 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 7 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:

Support

If you are having problems, please let me know by creating an issue.

License

This project is licensed with the MIT license.

rapidblazor's People

Contributors

jasontaylordev avatar erinnmclaughlin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.