tag:blogger.com,1999:blog-7243019.post-14650559234356842282007-09-18T09:45:00.000+02:002007-09-18T09:48:00.299+02:00Compact WCF Ten Commandments # .NET Compact Framework 3.5<p><em><span style="font-size:78%;">De <a href="http://wcefe.blogspot.com/">wcefe.blogspot.com</a>:</span></em></p><ol><li><strong>Compact WCF</strong> was born from E-Mail transport capabilities. Read and understand the <a href="http://blogs.msdn.com/romanbat/archive/2006/10/21/windows-communication-foundation-compact-edition-and-the-story-of-the-lunch-launcher.aspx">story of "Lunch Launcher"</a></li><li><strong>Compact WCF</strong> is a subset of <strong>WCF Framework</strong>.</li><li><strong>Compact WCF</strong> only consume, don't host <strong>WCF</strong> <strong>Service</strong>.</li><li>Forget <strong>Contracts</strong>. You are managing messages, so...</li><li>... be familiarized with <strong>Channel Factories</strong> and <strong>XmlSerializerWrapper</strong>. </li><li><strong>Compact WCF</strong> don't support MSMQ, TCP o others transports. Http/s and E-Mail transports bindings do.</li><li>Forget transfer a large amount of data into a message, discard <strong>stream mode</strong>, is not available. "Buffer" it into your head.</li><li><strong>Compact WCF</strong> supports a subset* of WS_Security and WS_Addresing. [* -> only Basic256Rsa15.]</li><li><strong>Make</strong> Microsoft <strong>Exchange</strong> MVP o expert <strong>friend</strong>. Keep him/her close to you.</li><li><strong>Think Mobile</strong>.</li></ol>José Miguel Torreshttp://www.blogger.com/profile/00332291893267131192noreply@blogger.com