Home  /  Questions  /  Question



65   95.8
Oct 14, 2010


Patterns In Action 4.0 solution structure

Hello.

Quick question: Why is the implementation of the "WCF.ActionServer" project (in the "Hosting Layer" solution folder) put into a separate project ("Action Service" project in the "Service Layer" solution folder)?

Thanks in advance,
Mike
 1 comment
 
SOA? --- Zhang Zhao  Oct 19, 2010



588   99.9
Nov 03, 2010
Michael,

For a couple of reasons:

  1. Maintenance - it can be easier to maintain as a separate set of classes
  2. Multiuse - the same implementation can be used by different protocols, such as http, tcp, net, etc.
There are probably other reasons but it's generally a best practice to do it this way.

Thanks,

King Wilder