Creating Web Services with the .NET Framework
The video discusses how to create a Web Service from scratch but also discusses some of the pros and cons that you should know about. For example, many people will return a DataSet from a Web Service. While that works, it's not very interoperable with non-.NET clients since the generated WSDL will be quite vague about what the Web Service actually returns. By creating custom types (classes) the WSDL can more accurately show a client exactly what they're going to get back. I've also seen many people put all of the code for a Web Service into the Web Method. That works, but you can achieve better code re-use by creating distinct layers for business and data functionality. These concepts and a few others are discussed in the video. Other topics covered include consuming a Web Service from an ASP.NET Web Form.