If you have a local repository
git checkout-index --prefix=git-export-dir/ -a
Or create a new GitHub repository from template:
https://github.com/havit/NewProjectTemplate-Blazor/generate
- SetupSolution.ps1 (replaces
NewProjectTemplate
withYourProjectName
etc.)- 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
- Check all configuration files (including PublishScripts folder).
- Set Web.Server as the startup project.
- Run the app...
- 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.)