GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  Architecture

 Print  |  
Question:  In designing component package / framework using Interface programming, where is the best place to put the Interfaces to reduce dependencies? In a single assembly that is referenced by other assemblies. In the domain assembly near the class that inherits the interface? or In the client assembly where the interface is being used?



March 03, 2007 00:03:02 #4
 AryanTah   Member Since: Visitor    Total Comments: N/A 

RE: In designing component package / framework using I...
 
I believe this depends on the kind of interface and component you are designing.
If you indend to share your interface among different assemblies then it makes sense to place the interface in a client assembly.
     

 

Back To Question