Re: namespaces and best practices

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Joshua Flanagan (josh_at_msnews.com)
Date: 03/11/05


Date: Thu, 10 Mar 2005 18:57:39 -0600

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

William Sullivan wrote:
> 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?



Relevant Pages