Namespaces across multiple Projects

  • Thread starter Thread starter DKode
  • Start date Start date
D

DKode

I have 2 projects in a solution:

Web
EmployeeManagement

The namespace for Web is : CompanyName.Hybrid.Web
The namespace for EmployeeManagement is just : CompanyName.Hybrid

EmployeeManagement is a class library.

When I am setting up the namespaces, is there any benefit in making
the namespace for employeemanagement something like :
CompanyName.Hybrid.Business since the business rules are declared in
this layer, or is the namespaces private to that particular project?

thank you.
 
Namespaces are for your benefit, not the system's. You can use namespaces
that best reflect the organization of your code. Namespaces have not
concept of "private" or "public". They are all accessible, it is only the
classes that have scope.
 
Back
Top