.net - Should Interfaces Live In The Same Namespace As The Concrete Classes That Implement Them? -
is there standard how solutions/projects organized in regards interfaces , classes implement them? i'm working on mvp, ddd application , love hear feedback how others layout projects , why way. thanks!!
they should live in namespace logical them; means there's no firm rule whether or not should reside in same namespace. you'll find relatively abstract namespaces don't live alongside implementation, whereas interfaces more 1:1 implementors more remain alongside 1 another.
a more important consideration keep interfaces consumable reuse--normally means more consideration given goes assembly alongside interfaces, rather namespaces.
Comments
Post a Comment