Keeping DataSets To Yourself When Returning Data in your Web Service

by Marvin 5. March 2009 14:19

When I first starting developing web services, I just loved to use DataSets to return data from the service.  I mean, they are pretty easy to use, and I am all about the easy road.  Then I stumbled across Scott Hanselman's blog article where I learned that "returning DataSets from web services is the spawn of Satan and represents all that is truly evil in the world."  Oops.  While I found this and other articles which explained the problems with using DataSets as a container for returning data from a web service, I didn't really find that "for Dummies" walkthrough that I was looking for.  At least, not a walkthrough that met my particular needs and that my feeble brain could understand.  This article is intended to be that walkthrough I wish I could have found. More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

About the author

I am a junior-level C# .NET developer living in Nashville, TN.  I'm currently working in biomedical informatics, developing a web service, a MySql database, and a web application.  Every week or so, I spend hours trying to figure out how to do something, and after I find the solution, I really want to make sure I don't go through that exercise again.  I love to write.  It helps me to remember things.  So, I use this blog as a way to document those painful lessons as I learn them.  It has already helped me to be able to refer back to them.  I hope some of these will save someone else some time as well.