C# Coding Standards, Design Guidelines and Tools




I have seen a lot of people asking for a C# Coding Standard and Design Guide. Here are some documents and tools that I refer to:

IDesign C# Coding Standard

C# Coding Standards document

Encodo C# Handbook

Design Guidelines for Developing Class Libraries

Internal Coding Guidelines

Tools - StyleCop



Will you give this article a +1 ? Thanks in advance



About The Author

Suprotim Agarwal
Suprotim Agarwal, ASP.NET Architecture MVP (Microsoft Most Valuable Professional) works as an Architect Consultant and provides consultancy on how to design and develop Web applications.

Suprotim is also the founder and primary contributor to DevCurry, DotNetCurry and SQLServerCurry. He is the Editor of a Developer Magazine called DNC Magazine. He has also written two EBooks 51 Recipes using jQuery with ASP.NET Controls. and The Absolutely Awesome jQuery CookBook

Follow him on twitter @suprotimagarwal

comments

3 Responses to "C# Coding Standards, Design Guidelines and Tools"
  1. Dennis Doomen said...
    October 1, 2009 at 10:19 PM

    I have been working on C# coding guidelines since 2003 and have recently published free guidelines for C# 3.0. Check it out at http://www.dennisdoomen.net/2009/03/new-coding-guidelines-for-c-30.html

  2. Suprotim Agarwal said...
    October 2, 2009 at 4:33 AM

    Thanks Dennis for that link!

  3. Urs Enzler said...
    October 2, 2009 at 1:01 PM

    We use StyleCop to check the coding guidelines (style) and FxCop to check basic design guidelines.

    We think that only with tool support, the guidelines can be followed. If the guidelines are just "Paper" then there will be a lot of violations (by will or not) and you would have to make code reviews to check the basic guidelines. I prefer that code reviews consider higher goals than just style of coding.

 

Copyright © 2009-2016 All Rights Reserved for DevCurry.com by Suprotim Agarwal | Terms and Conditions