« Return to the blog entry
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
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