Anoob K A
Anoob K A

Reputation: 59

Can a .Net namespaces span multiple assemblies?

Can a .Net namespaces span multiple assemblies? Specific examples would be helpful.

Upvotes: 3

Views: 1529

Answers (2)

korovaisdead
korovaisdead

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

Richard
Richard

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

Related Questions