Living SPEAK guideline used internally to share same structure and code style. It is work in progress and you are welcomed to pull request it.
The following guidelines apply to C# code for components.
Follow the All Language Styling guidelines.
Use StyleCop with standard Sitecore settings.
Mark members with [NotNull]
and [CanBeNull]
Include meaningful XML comments for all members.
Never manipulate (add HTML, set attributes etc.) HTML directly in .CS files - only include HTML in the .CSHTML files.