Welcome to Windows Communication Foundation (WCF)
Top Tasks :

WCF Team Bloggers

Thursday, August 09, 2007 - Posts

  • Calling Services Without a Contract

    Contracts are largely an illusion about the kinds of messages that can be exchanged between a client and a server. From a practical perspective, a service can describe itself using any contract it likes but the true measure of compatibility comes from being able to exchange data. The easiest way to experience this observation is to build and send some messages without using any contracts. I've talked a lot in the past about sending messages directly using channels, which are a very thin wrapper around the semantics of sending and receiving. You don't have to go all the way to using channels to experience contract-less programming though. The standard ChannelFactory class for building proxy objects has a limited built-in knowledge about the IRequestChannel shape. In essence, this is a way to send messages in a contract-oriented programming model without actually using contracts. Quite a few systems require sending and receiving messages but lack any support for dealing with contracts. It can be difficult to acclimate yourself to this style of programming, but it can be done to a large degree without having to give up the conveniences of a nice programming model. Next time: Serializing UniqueId Read More...
  • Halo 3 North American Pre-orders Surpass 1 Million

    One million copies of "Halo 3" pre-orders have been received from American retailers. This marks the fastest pre-sale in video game history. Halo 3 will be released on September 25. Get in line now! http://www.gamasutra.com/php-bin/news_index.php?story=15044... Read More...

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us