New Project Template - HAVIT Blazor Stack
Initial Setup
- SetupSolution.ps1 - NewProjectTemplate => ProjectName
- Open SetupSolution.ps1 and set parameters.
- Run SetupSolution.ps1.
- Delete SetupSolution.ps1
- Adjust the Model - remove unnecessary entities (Country, Localizations, ...)
- Rebuild the solution
- Run DataLayer CodeGenerator (Run-CodeGenerator.ps1)
- Create an initial EF migration
- Drop the current migrations - delete Entity/Migrations folder
- Add new initial migration
Add-Migration Initial -StartupProject Entity.Tests
- Set Web.Server as the startup project.
- Run the app...
Further Steps
- Update NuGet packages in solution.
- Application Insights - set InstrumentationKey
- Web.Server / appSettings.json
- Web.Client / wwwroot / appSettings.json
- Identity Server - set Keys for deployment (Web.Server / appSettings.json)
(Use PublishScripts folder for deployment settings.)