Basic Web Services


You have probably heard quite a bit of hype about Web services in conjunction with the .NET Framework. In fact, Microsoft has gone so far as to sometimes describe the .NET Framework as "an XML Web services platform that will enable developers to create programs that transcend device boundaries and fully harness the connectivity of the Internet" ( You may also run across a lot of complex and confusing explanations of the architecture of these Web services. But at their most basic level, Web services are simple: They are a means for interacting with objects over the Internet.

Seen in that light, Web services are part of a natural progression:

  1. Object-oriented languages such as C++ and C# enable two objects within the same application to interact.

  2. Protocols such as the Component Object Model (COM) enable two objects on the same computer, but in different applications, to interact.

  3. Protocols such as the Distributed Component Object Model (DCOM) enable two objects on different computers, but in the same local network, to interact.

  4. Web services enable two objects on different computers—even if they're only connected by the Internet—to interact.

In this chapter I'll introduce you to Web services as they exist in the .NET Framework. You'll see how to build and use Web services in your .NET applications, and you'll learn about the major protocols that are used when you communicate with a Web service.

     Python   SQL   Java   php   Perl 
     game development   web development   internet   *nix   graphics   hardware 
     telecommunications   C++ 
     Flash   Active Directory   Windows