![]() Most of my books, including C# Design and Development, rely on the older Web Reference technique, as do all of my articles. For example, I show how to use a Service Reference to access a Web Service using LINQ in Chapter 13 (page 278) of LINQ for Dummies. Service references are actually quite flexible, but they require a different technique to use. The default operation for newer versions of Visual Studio is to create a Service Reference, which works differently from the Web Reference you used in the past. The process was quite simple because all you needed to do then is create an instance of the class and use the methods it provided to access the Web service as if the information was local to the machine. After entering a few bits of information, the IDE created a class you could use to access the Web Service for you. All you did was right click the project and choose to add a Web Reference from the context menu. In previous versions of the product, you could access a Web service by creating a Web Reference to it. ![]() There is a new wrinkle in working with Web services in Visual Studio 2010. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |