WCF Service Design Diagram

I want to create a WCF service. What is the best design template for this? For example, three separate projects:

1) DataContract
2) BusinessLogic
3) SvcHostProject

+4
source share
2 answers

This doesnโ€™t sound so bad, although I would probably combine DataContract and SvcHostProject, since they both had to reference WCF binaries and seemed to share the same gross responsibility (that is, if you are not thinking about creating a universal ServiceHost).

You might want to see an (old) article on how to make WCF services more reliable: http://blogs.msdn.com/b/ploeh/archive/2008/07/12/an-overview-of-unit-testing -duplex-wcf-services-and-clients.aspx Although we are talking about duplex services, you can easily extrapolate how to deal with more โ€œnormalโ€ request and response services.

+4
source

All Articles