Coding Standards
  • All code has unit test coverage with NUnit
  • private class fields using _ prefix with camelCase
  • properties are PascalCased
  • public methods are PascalCased
  • private/protected methods are preferred to be camelCased but are acceptable as PascalCased
  • Order of members in a class: fields, constructors, everything else
  • Use interfaces to define contracts. Consumers of MvcContrib should be consuming interfaces, not classes.
  • do not use regions

Use tabs, not spaces in your patches - Some folks like 2 spaces, some like 4, but that's an IDE setting. Change your IDE settings to use tabs, not spaces, and then you can set your tab to 2 spaces if you prefer that. Here is a quick macro to flip between tabs and spaces in vs

Last edited Feb 8, 2008 at 4:07 PM by jeffreypalermo, version 5


No comments yet.