<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started with Windows Communication Framework</title><link>http://weblogs.asp.net/dwahlin/archive/2006/10/29/Getting-Started-with-Windows-Communication-Framework.aspx</link><description>One of the talks I&amp;#39;m giving at the upcoming DevConnections conference in Las Vegas the week of November 6th covers moving from Web Services to Service Oriented Architectures (SOAs). Part of the talk will discuss how well Windows Communication Framework</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>.NET 2.0 Distributed Application Programming Sample Code</title><link>http://weblogs.asp.net/dwahlin/archive/2006/10/29/Getting-Started-with-Windows-Communication-Framework.aspx#3081748</link><pubDate>Mon, 09 Jul 2007 18:05:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3081748</guid><dc:creator>Dan Wahlin's WebLog</dc:creator><author>Dan Wahlin's WebLog</author><description>&lt;p&gt;For those taking the Distributed Application Programming course this week with me (or anyone else who&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3081748" width="1" height="1"&gt;</description></item><item><title>re: Getting Started with Windows Communication Framework</title><link>http://weblogs.asp.net/dwahlin/archive/2006/10/29/Getting-Started-with-Windows-Communication-Framework.aspx#2368845</link><pubDate>Wed, 25 Apr 2007 04:34:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2368845</guid><dc:creator>Rick G. Garibay</dc:creator><author>Rick G. Garibay</author><description>&lt;p&gt;Hey Dan,&lt;/p&gt;
&lt;p&gt;Great post.&lt;/p&gt;
&lt;p&gt;Couple of questions:&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; For example, a local ASP.NET application could call the business layer code directly rather than having to serialize/deserialize messages by calling the WCF service&lt;/p&gt;
&lt;p&gt;Using service stubs to delegate out to a BSL is a practice I used exclusively with ASMX, however with WCF, my thoughts are that since the service class that implements the service contract is simply a class (and carries no inherent association to a service), it lends itself just fine to in-process instantiation. My understanding is that this removes a once necessary layer to avoid service activation/serialization/deserialization. For example, my unit tests exercise a service both directly (as a class) and out-of-band (as a service endpoint). If I wanted to call the service in process, I *could* do so as a class/component, but IPC would probably be better for consistency. What do you think?&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; &amp;nbsp;typically prefer to model my data contracts using XML schemas (.xsd files). &amp;nbsp;This way I know that messages exchanged between the client and service are based upon global standards which helps to eliminate interop issues across different platforms.&lt;/p&gt;
&lt;p&gt;I've wondered if this is more of a formality with WCF, and your post along with a recent discussion with Jeff Hasan seems to support using XSD even with WCF.&lt;/p&gt;
&lt;p&gt;So it sounds like WCF simply provides policy compatability based on bindings and message interop can only truly be guaranteed using XSD. So really, System.Runtime.Serialization doesn't do any more to guarantee message level interop than System.Xml.Serialization, only XSD can accomplish this, correct?&lt;/p&gt;
&lt;p&gt;Also, other than acting as a template for the Data Contract (and the possibility for document-centric validation if needed), do the XSD schema just remain an artifact within the domain-specific class (entity) libraries? This is what I have done in the past, but I have found that avoiding the temptation on teams to &amp;quot;just update the class&amp;quot; requires significant discipline. But then again, I guess so is the price of SOA ;-)&lt;/p&gt;
&lt;p&gt;Thanks again for a great post and I look forward to your thoughts.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2368845" width="1" height="1"&gt;</description></item><item><title>re: Getting Started with Windows Communication Framework</title><link>http://weblogs.asp.net/dwahlin/archive/2006/10/29/Getting-Started-with-Windows-Communication-Framework.aspx#1979922</link><pubDate>Fri, 09 Mar 2007 20:12:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1979922</guid><dc:creator>Andy Koval</dc:creator><author>Andy Koval</author><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm new to WCF. If I've got an observerableCollection that I'm using in WPF, would I adorn the collection with [DataContract] and [DataMember] attributes. If so how...?&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1979922" width="1" height="1"&gt;</description></item><item><title>re: Getting Started with Windows Communication Framework</title><link>http://weblogs.asp.net/dwahlin/archive/2006/10/29/Getting-Started-with-Windows-Communication-Framework.aspx#1451943</link><pubDate>Mon, 22 Jan 2007 22:52:09 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1451943</guid><dc:creator>dwahlin</dc:creator><author>dwahlin</author><description>&lt;p&gt;I'm guessing that a namespace is causing the issue potentially although to generate my &amp;quot;model&amp;quot; classes I'm still using xsd.exe for the most part.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1451943" width="1" height="1"&gt;</description></item><item><title>re: Getting Started with Windows Communication Framework</title><link>http://weblogs.asp.net/dwahlin/archive/2006/10/29/Getting-Started-with-Windows-Communication-Framework.aspx#1434313</link><pubDate>Fri, 19 Jan 2007 16:14:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1434313</guid><dc:creator>Kenny</dc:creator><author>Kenny</author><description>&lt;p&gt;Hi, you wrote, that you use xsd files for the data contracts. Me too ;o). I used the svcutil- tool, but it generates an error - message:&lt;/p&gt;
&lt;p&gt;One of my complex types can`t get imported. Is there another way to solve this problem (datacontract.xsd to *.cs - class), and how can i declare my [data member] in this XSD-file???&lt;/p&gt;
&lt;p&gt;K.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1434313" width="1" height="1"&gt;</description></item><item><title>Getting Started with Windows Communication Framework</title><link>http://weblogs.asp.net/dwahlin/archive/2006/10/29/Getting-Started-with-Windows-Communication-Framework.aspx#766120</link><pubDate>Mon, 30 Oct 2006 23:58:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:766120</guid><dc:creator>DotNetKicks.com</dc:creator><author>DotNetKicks.com</author><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=766120" width="1" height="1"&gt;</description></item></channel></rss>