Partager via


Save time and checked out the "Windows Communication Foundation" site at https://www.windowscommunication.net

As always I'm probably the last to know but in case not the case then check out www.windowscommunication.net!!

You'll find

  1. Hands on lab documents for the Jan and Feb CTP builds off the "Try It!" tab (this will save you a lot of time as there are some schema changes that don't map to the WinFx Intellisense that ships with the Jan and Feb CTPs)
  2. Samples and code snippets
  3. PDC Videos and PPT
  4. and lots lots more!

Two things I stumbled across that may save you time

Firstly, the service binding and contract section of your config file prior to the Jan and Feb CTPs you'd define

<

system.serviceModel>
<services>
<service type=

now you specify

<system.serviceModel>
<services>
<service name=

You'll get Intellisense errors but it works!!

Secondly, when referencing the name of the service you previously stated the full "namespace.class.method,assembly name" again from Jan/Feb onwards don't include the ",assembly name" as it's changed and you'll get an obscure error message!!

But use the updated Hands on Labs docs and you'll avoid these issues!!

More great resources at https://msdn.microsoft.com/winfx/technologies/communication/default.aspx

and the Introduction to Building Windows Communication Foundation Services is a great primer!!

Enjoy!!

Comments

  • Anonymous
    May 02, 2006
    Useful link to breaking changes from WinFx Beta 1 to WinFx Nov CTP and onwards.

    http://blogs.msdn.com/edpinto/archive/2005/12/14/503811.aspx

    There is a great MSDNMag article (http://msdn.microsoft.com/msdnmag/issues/06/01/ServiceStation/default.aspx) about migrating from ASMX web services to WCF and a discussion around minimising distruption to existing ASMX code by not having to port over to the [DataContract] model.

    The document makes reference to [ServiceContract(FormatMode=ContractFormatMode.XmlSerializable)] attribute property.  

    This has changed from the Nov CTP build onwards, it's now a seperare attribute call  [XmlSerializerFormat]

    see the breaking changes and specfically

    System.Runtime.Serialization.XmlFormatter is the default formatter. To use the XmlSerializer, apply the XmlSerializerFormat attribute
    [ServiceContract(FormatMode=serializer)] [XmlSerializerFormat]

  • Anonymous
    May 03, 2006
    http://blogs.msdn.com/edpinto/