Back to list
Views:   10.4K
Replies:  2

Fault contracts versus AcknowledgeType+Message

I wonder why have you chosen to return errors from the service layer to the client apps via AcknowledgeType + Message rather than custom fault contracts?  How could this approach address multi-lingual support?
Michael S, Aug 31, 2011
Reply 1
Understood, thanks.
Michael S, Sep 01, 2011
Reply 2

I guess custom fault contracts could have been used.  
However, it is a technique that requires a fairly deep understanding of WCF and our focus is really on teaching common design patterns. 

As another example, we could have added extensive error handling (as we would in a production system), but that would also have diluted the learning experience for developers who are focused on learning pattern techniques (rather than error handling). 

I hope this helps.

Dan McMillan, Aug 31, 2011

Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0