Reputation: 59
Can a .Net namespaces span multiple assemblies? Specific examples would be helpful.
Upvotes: 3
Views: 1529
Reputation: 6341
Yes. And this is the right approach to separate different logic parts of your application.
YourApp.Dal - separate assembly with data access layer.
YourApp.Infrastructure - separate assembly with some infrastructure.
YourApp.Web - web part of your application.
Upvotes: 0
Reputation: 108975
Yes.
Eg. System
is, some of it is in mscorlib.dll
, other parts are in System.dll
and System.Core.dll
(and, I assume, others).
Upvotes: 7