Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
WCF Feature Details
 How to: Migrate ASP.NET Web Service...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
How to: Migrate ASP.NET Web Service Client Code to the Windows Communication Foundation

The following procedure describes the broad steps that need to be followed to migrate ASP.NET Web Service client code to WCF.

Procedure

To migrate ASP.NET Web Service client code to WCF

  1. Ensure that a comprehensive set of tests exist for the client.

  2. Use Visual Studio 2005 to upgrade the client application to .NET 2.0. Run the set of tests.

  3. Remove ASP.NET client code from the client project. That code is in modules generated using the WSDL.exe tool.

  4. Generate WCF client code using the ServiceModel Metadata Utility Tool (Svcutil.exe). Add that code to the client project and merge the configuration output into the client’s existing configuration file.

  5. Compile the application. Repair the compilation errors by replacing references to the former ASP.NET client types with references to the new WCF client types.

  6. Run the set of tests.

See Also


© 2007 Microsoft Corporation. All rights reserved.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker