Blog Home  Sign In RSS 2.0 Atom 1.0 CDF  

  def Softwaremaker() :
         return "William Tay", "<Challenging Conventions />"

  knownType_Serialize, about = Softwaremaker()
 

 Saturday, August 25, 2007

It was not so long ago when I made my intentions known that the .svc extension in Windows Communication Foundation (WCF, previously - Indigo) is really a clutz. It is obstrusive and really unnatural, especially when it comes to RESTful Web Services.

In a closed door meeting with the product group folks back in 2005, before WCF rolled out and way before I joined the borg, I was told that this is a issue not with WCF itself, but by its web host - Microsoft Internet Information Server (IIS)

There are some attempts to hack around it but one of the best I have seen is to do URL Re-Writing: Off Jon Flanders here. You can see from the bottom of his post via Christian Weyer that this still will not work with IIS6 (damned legacies) but this will give you a good excuse to move to a Better, Leaner and Meaner IIS7, which is a complete rewrite of its predecessor. About time, I say.

Saturday, August 25, 2007 6:06:02 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Disclaimer  Comments [8]
  • Blog reactions

  •  Tuesday, August 21, 2007

    Following up on this, here are some more aggregated shareable details with regards to the Compact Framework 3.5:

    Feature

    Desktop WCF

    Compact WCF

    Bindings:

     

     

    ·         BasicHttpBinding

    Yes

    Yes

    ·         CustomBinding

    Yes

    Yes

    ·         WindowsMobileMailBinding

    N/A

    Yes

    ·         ExchangeWebServiceMailBinding

    Yes, via NetCF install

    Yes

    Formatters:

     

     

    ·         SoapFormatter

    Yes

    Yes

    ·         BinaryFormatter

    Yes

    No

    Encoders:

     

     

    ·         TextMessageEncoder

    Yes

    Yes

    ·         BinaryMessageEncodingBindingElement

    Yes

    No

    ·         MTOMEncoder

    Yes

    No

    ·         GzipEncoder

    No

    Sample available

    Transports:

     

     

    ·         HttpTransportBindingElement

    Yes

    Yes

    ·         HttpsTransportBindingElement

    Yes

    Yes

    ·         MailTransportBindingElement

    Yes, via NetCF install

    Yes

    ·         MsmqTransportBindingElement

    Yes

    No

    ·         TcpTransportBindingElement

    Yes

    No

    ·          

     

     

    XmlDictionaryReader/Writer

    Yes

    Yes; stub around XmlTextReader/Writer

    DataContractSerializer

    Yes

    No; but can be wire-compatible with DCS via XmlSerializer

    Service proxy generation

    Yes; via SvcUtil.exe

    Yes; via NetCFSvcUtil.exe, not integrated into VS2008

    ·         Non-HTTP transports

    Yes

    No

    ·         Custom headers

    Yes

    No

    WS-Addressing

    Yes

    Yes

    WS-Security message level security

     

     

    ·         X.509

    Yes

    Yes

    ·         Username/password

    Yes

    No

    WS-ReliableMessaging

    Yes

    No

    Patterns

     

     

    ·         Service model

    Yes

    No

    ·         Message layer programming

    Yes