Welcome to Windows Communication Foundation (WCF)
Top Tasks :

WCF Team Bloggers

Thursday, August 23, 2007 - Posts

  • Signalling “End Of Session”

    When authoring a session-ful channel, it’s important to signal “end of session” correctly so that the runtime (or any other user of the channel) knows when to stop reading messages, and to start shutting down his side of the conversation (with CloseOutputSession and/or channel.Close). A null Message/RequestContext signals end-of-session to the caller. In particular, depending [...] Read More...
  • WebHttpBehavior vs WebScriptBehavior

    If you want to use the [WebGet]/[WebInvoke] programming model in WCF, you need an endpoint with the right binding and the right endpoint behavior. The binding is the out-of-the-box WebHttpBinding. The endpoint behavior can be either WebHttpBehavior or WebScriptEnablingBehavior. What's the difference between the two? The WebHttpBehavior is a general-purpose behavior that supports UriTemplate dispatch and POX/JSON/byte stream formats on the wire. Use it for general purpose HTTP/REST/Web-Style services. The WebScriptEnablingBehavior is a "profile" of the WebHttpBehavior functionality designed specifically for interop with ASP.NET AJAX clients. It adds in some AJAX-isms like the ability to automatically generate ASP.NET AJAX client proxies. Read More...
  • Orcas Beta 2 Samples

    When Orcas Beta 2 was released, all of the links for samples were still pointing to the Beta 1 SDK download for a few weeks. That's evidently changed recently as there is now a download available for the Orcas Beta 2 SDK samples . Read More...

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