Things to do
- Repository setup from Visual Studio
- Create new project
- File > Add to Source Control
- Check solution folder if gitignore file is created or not
- Team Explorer > Sync > Use “Azure DevOps” or “Github”
- Create folders
- Services
- Exceptions
- Components (i.e.
BaseComponent
)
- AutoMapperProfiles
- Middlewares
- Extensions
- Utilities
- Create
libman.json
and add front end libraries
- Create data project (EF core data project:
hovermind.hoverapp.data
)
- Create dedicated model project (i.e. if app is
hovermind.hoverapp
then model project: hovermind.hoverapp.models
)
- InputModels (UI form -> backend)
- ViewModels (backend -> UI)
- Filter/Search Models
- Create AutoMapper profile
- Setup logging: Serilog
- Setup unit testing: xUnit
- Create Exception class (Blazor does not have global exception handling yet, as of August 2020)
- For every class/method
- Write documentation comment
- Handle exception and log error/warning
- Write unit tests
- Create utilities and validation service (a dedicated service to perform input validations)
- Browser support:
- Set Edge as default browser
- Test in edge, if it works in edge, will work in other browsers too (or easily can make it work)