Welcome to MSDN Blogs Sign in | Join | Help

Breaking changes for the Feb CTP

The Feb CTP is now available! A number of changes have been made that break existing code. The details have been posted here on our community site.  Raw API change reports are available here for reference.

Here are some of the most popular things that you'll run into when you port your apps.

Service configuration has changed:

system.serviceModel/services/service/@type has changed to system.serviceModel/services/service/@name.

Before

<configuration>
  <system.serviceModel>
    <services>
      <service
        type="Microsoft.ServiceModel.Samples.CalculatorService">
        <endpoint
          address=""
          binding="wsHttpBinding"
          contract="Microsoft.ServiceModel.Samples.ICalculator" />
      </service>
    </services>
  </system.serviceModel>
</configuration>


After

<configuration>
  <system.serviceModel>
    <services>
      <service
        name="Microsoft.ServiceModel.Samples.CalculatorService">
        <endpoint
          address=""
          binding="wsHttpBinding"
          contract="Microsoft.ServiceModel.Samples.ICalculator" />
      </service>
    </services>
  </system.serviceModel>
</configuration>

Also note that names in config are now strictly treated as configuration strings and not necessarily as types.  When using the WCF programming model the configuration names should be the full type names.  Assembly qualified type names are no longer supported.

The format for the .svc files has changed:

Before

<%@Service language=c# Debug="true" class="Microsoft.ServiceModel.Samples.CalculatorService" %>


After

<%@ServiceHost language=c# Debug="true" Service="Microsoft.ServiceModel.Samples.CalculatorService" %>

Your best bet to update client code is to rerun svcutil.

Looking forward, we have most of the changes we know of to date completed, but we will continue to listen to customer feedback, and react to interop and security testing which could result in additional changes to the OM.

Feel free to contact me, or ask questions on the WCF forum.

 

Published Wednesday, February 22, 2006 5:13 PM by edpinto

Comments

# WinFX February CTP available

The February CTP for WinFX is now available for download.&amp;nbsp; Breaking changes are here.
Wednesday, February 22, 2006 12:50 PM by NathanA's Web Services Blog

# kennyw.com &raquo; Blog Archive &raquo; WCF February CTP now available

Wednesday, February 22, 2006 2:06 PM by kennyw.com » Blog Archive » WCF February CTP now available

# Ed's Blog : Breaking changes for the Feb CTP

Breaking changes for the Feb CTPThe Feb CTP is now available! A number of changes have been made that...
Wednesday, February 22, 2006 3:25 PM by CedarLogic

# Breaking changes for the Feb CTP

Thursday, February 23, 2006 1:35 AM by MADHU BLOG(MSDTC/COM+/WEB SERVICES/WCF)

# re: Breaking changes for the Feb CTP

Great ...thanks for the info
Thursday, February 23, 2006 3:42 AM by msvista

# WCF February CTP breaking changes

Friday, February 24, 2006 11:51 AM by Coding Beyond...

# .NET 点滴

1. MSDN上的ASP.NET《怎么做。。。》系列教学录像,包括缓存,定制登陆门户,Master Pages/Site Navigation/Membership/Roles/Profiles/Themes,Web...
Wednesday, March 01, 2006 11:46 AM by 汪洋里的海盗

# WinFX Feb CTP Hits the Streets


WinFX Runtime Components
WinFX SDK
VS integration Orcas Development Tools
VS Extensions for Windows...
Thursday, March 02, 2006 7:58 PM by Sam Gentile

# Breaking Changes for WCF in the February CTP

Friday, March 03, 2006 3:59 AM by Mike Taulty's Weblog

# WinFX Feb CTP Hits the Streets

WinFX Runtime Components WinFX SDK VS integration Orcas Development Tools VS Extensions for Windows Workflow
Sunday, October 01, 2006 2:38 AM by Sam Gentile
Anonymous comments are disabled
 
Page view tracker