I'm about to set out on developing a .NET class library that will be consumed by several projects. I've reached a point in my design where I'm not 100% sure which order my namespaces should be nested in. The two options I see are:
The shared project uses
MyCompany.Common.Web
MyCompany.Common.Data
MyCompany.Common.Utils
with each project then using
MyCompany.ProjectName.Web
MyCompany.ProjectName.Data
MyCompany.ProjectName.Utils
or I flip it around and use
MyCompany.Web.Common
MyCompany.Web.ProjectName
etc
Which is considered best practice / more widely used? I've seen both around on the net. Personally, option 1 seems more logical.