namespaces and best practices

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've been trying to research my question, but I haven't found a difinitive
guide yet.

My company is starting to build projects using dotnet. There isn't much
coordination in namespaces, so I am trying to find out what the best
practices are. I'm thinking that it would be something along the lines of:
[Company Name].[Program Name].[Subassembly Name]...
Any suggestions?
 
That is a good one. Depending on the size of your company, you might
insert [Department] or [LineOfBusiness] in between company name and
program name.

It is also a good idea to name your assemblies using the full namespace
name. So, instead of having SubAssembly.dll, you would have
CompanyName.ProgramName.SubAssembly.dll
 
Back
Top