Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much effort is required to convert an ASMX to WCF web service?

Tags:

I have 2 web services with about 6 web methods in total, most of the code is ofc sitting in assemblies any way, and the web service asmx is really just calling these assembly methods and returning their return type.

How much effort is it to convert the web services from ASMX to WCF?

I pretty much at this stage control the only - non web based clients connecting to the web services, so this is not really a problem, product is in prelaunch.

like image 603
JL. Avatar asked Oct 01 '09 06:10

JL.


People also ask

What are the differences between WCF and ASMX Web services?

5) The purpose of ASMX services is to send and receive data using SOAP over HTTP protocol. However, WCF services can send and receive data using any format over different protocols like HTTP, HTTPS, TCP, MSMQ etc.

Is Asmx web service obsolete?

If you can work with WCF then yes the ASMX services are obsolete because the WCF can fully replace them with more performance and flexibility (multiple binding), functionality.


1 Answers

Check out some of those blog posts and articles on how to do it:

  • Migrating ASMX to WCF (unfortunately, this link in no longer valid)
  • Phased Migration From ASMX to WCF
  • ASMX to WCF migration

and many more - search for "Migration ASMX to WCF" and you'll get a ton of hits

Marc

like image 97
marc_s Avatar answered Sep 21 '22 21:09

marc_s