service-design

WCF - contract-first vs. code-first - how to document easily / properly?

Folks, I'm facing this problem here: I'm designing my second larger batch of WCF services which external parties will consume. For the first batch, I used a strict "contract-first" approach: manually created the WSDL and XSD files, and from those, generated my service and data contracts and implemented my WCF service. Worked ok, I was...

Best practice to handle large WCF service

I'm working on a 4-player network game in WPF and learning WCF in the process. So far, to handle the network communication, I've followed the advice from the YeahTrivia game on Coding4Fun game: I use a dualHttpBinding, and have use a CallbackContract interface to send back messages to clients. It works pretty well. However, my service i...