Dotnet coding guidelines
Default style guides
When not specifically set out the following style guides should be used as the default coding style for Synetec.
- All projects have Sonar Cloud to provide static code analysis, so the Sonar Source rules provide a good starting point.
- C#
Architecture guides
Our preferred style is to use clean architecture. Deviation from this style may be necessary for specific projects - it must always be approved by the Head of Development (and documented) before doing so.
Synetec specific guides
- Limit a file to one type
- Compiler warnings
- UTC vs local time
- Framework versions
- .Net project structure and dependency flow
- Business logic
- Resource identification
- Nullable reference types
- Configuration
- Directory.Build.props
- Directory.Packages.props
- NuGet Package Alternatives
- Google Form Submission
- Google Sheet Import Integration