BigHam / NewProjectTemplate-Blazor

Template for new projects - Havit.Blazor stack with Bootstrap 5 components and gRPC code-first communication.

Home Page:https://havit.blazor.eu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Project Template - HAVIT Blazor Stack

Initial Setup

  1. SetupSolution.ps1 - NewProjectTemplate => ProjectName
    1. Open SetupSolution.ps1 and set parameters.
    2. Run SetupSolution.ps1.
    3. Delete SetupSolution.ps1
  2. Adjust the Model - remove unnecessary entities (Country, Localizations, ...)
  3. Rebuild the solution
  4. Run DataLayer CodeGenerator (Run-CodeGenerator.ps1)
  5. Create an initial EF migration
    1. Drop the current migrations - delete Entity/Migrations folder
    2. Add new initial migration Add-Migration Initial -StartupProject Entity.Tests
  6. Set Web.Server as the startup project.
  7. Run the app...

Further Steps

  1. Update NuGet packages in solution.
  2. Application Insights - set InstrumentationKey
    1. Web.Server / appSettings.json
    2. Web.Client / wwwroot / appSettings.json
  3. Identity Server - set Keys for deployment (Web.Server / appSettings.json)

(Use PublishScripts folder for deployment settings.)

About

Template for new projects - Havit.Blazor stack with Bootstrap 5 components and gRPC code-first communication.

https://havit.blazor.eu


Languages

Language:C# 92.7%Language:HTML 6.4%Language:PowerShell 0.7%Language:CSS 0.2%