logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Nick
    • Posted on Tue 1 Feb 2011 07:11 AM

    No problem. I recently have gone through all you are going through, and these are the 'best practices' I learned from a more knowledgable person.

    Under your CSCode(or VBCode) folders, or whatever you use. In the root I have all classes that have the following namespace:

    Namespace CompanyNameBusinessObjects

    Have a folder called 'Collections', which contain the plurals of the individual business objects, from above, witht he following namespace:

    Namespace CompanyNameBusinessObjects.Collections

    Another Class for Comparers:

    Namespace CompanyNameBusinessObjects.Comparers

    Have a folder called 'Enums' with a namespace of:

    NameSpace CompanyNameBusinessObjects.Comparers

    Have a folder called Utilities with all of my utility type of items, for example, the internationlization of dates, or formatting utilities.

    NameSpace CompanyNameBusinessObjects.Utilities

    And last but not least....folders/classes for my workflow businessobjects

    CompanyNameBusinessObjects.Workflow

    and

    CompanyNameBusinessObjects.Workflow.Collections

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: