.NET Zone is brought to you in partnership with:

Cagdas Basaraner is a software engineer graduated from Hacettepe University Computer Engineering department and Information Systems master program (Turkey). He has 5 years of professional experience, and is working on information systems with JEE web technologies. He is also a former developer of information systems with Microsoft .NET technologies and Command & Control (C4I) systems with Java technologies. Cagdas is a DZone MVB and is not an employee of DZone and has posted 22 posts at DZone. You can read more from them at their website. View Full User Profile

10 Differences Between WCF and ASP.NET Web Services

06.13.2012
| 16438 views |
  • submit to reddit
Here are the 10 important differences between WCF Services and ASP.NET Web Services:
10 Differences Between WCF and ASP.NET Web Services

For more details: http://msdn.microsoft.com/en-us/library/aa738737.aspx
Published at DZone with permission of Cagdas Basaraner, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

John Conner replied on Fri, 2012/06/15 - 7:34am

One little correction: for ASP.NET services and what you can and can't serialize, if your class implements IXmlSerializable, you can handle the serialization however you wish - private fields, dictionaries, etc.  It's a bit faffy to do compared to using attributes, but it works.

The serializers that the framework generate simply delegate the XML generation to your ReadXml/WriteXml methods - it's down to you to get it right (get the framework to generate the .cs file for you (diagnostics setting in your config file), and you'll see what I mean.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.