by Patrick Barnes, freelance Web application developer, author, and consultant. Intel Corp.
Before the advent of Web services, other technologies and architectures existed that allowed applications to remotely call procedures exposed by other applications, typically using the TCP/IP protocol. You have undoubtedly heard of Microsoft's version of this technology, called Component Object Model (COM), and subsequently Distributed COM (DCOM). Common Object Request Broker Architecture (CORBA) is a competitor of COM, developed by a consortium of vendors under the aegis of the Object Management Group.
Although these technologies were a breakthrough in distributed computing and served such ends well for at least five years, there were many limitations. Concerning DCOM, its two main disadvantages were:
- Microsoft-only: DCOM works properly only with binaries written with Microsoft languages and running on Microsoft platforms.
- Not Suitable for the Internet: DCOM was designed to use the TCP/IP protocol over a LAN or WAN. Firewalls present a serious problem, and performance is often poor and unreliable.
- Non-proprietary: Open standards are governed by the World Wide Web Consortium (www.W3C.org) and other grassroots organizations. All communication and data formatting protocols are non-proprietary, detaching this form of remote procedure calling from specific languages and platforms.
- Internet-savvy: Web services were designed specifically for use over the Internet via HTTP.
Assumptions and requirements
This article assumes no prior knowledge of Web services, Visual Studio .NET, or Visual Basic .NET. The Web Service is built using Visual Studio .NET, although the IDE is not required to build .NET Web services. You could write the code and compile it using the Visual Basic compiler from the command line. However, this article assumes you are using Visual Studio .NET and thus makes no accommodations for other situations. Finally, you will need access to the Northwind database shipped with Microsoft SQL Server and the Microsoft Data Engine (MSDE).
Creating a Web service project in Visual Studio .NET
Follow these steps show to create an ASP .NET Web service project in Visual Studio .NET.
1. Click Start, point to Programs, point to Microsoft Visual Studio .NET, and then click Microsoft Visual Studio .NET.
2. Click New Project.
3. Select Visual Basic Projects in the Project Types pane.
4. Select ASP.NET Web Service in the Templates pane.
5. In the Location box, enter the name of the Web server with the name of the project, http://ServerName (or Localhost)/intel_wsNWProducts. See Figure 1.

Figure 1. Creating the Project in Visual Studio .NET.
![]()
If you're interested in this topic, these articles may be helpful:
![]() | Security for ASP.NET Developers Increasingly, ASP.NET developers are being asked to wear two hats; one... |
![]() | Building web services with Visual Studio .NET Understanding how web services work is key to using Visual Studio .NET... |
![]() | ASP.NET 2.0 Demystified, Chapter 4: Variables and Expressions in ASP.NET by Jim Keogh McGraw-Hill/Osborne Books ASP .NET 2.0 Demystified e... |
![]() | Beyond Software Architecture: Creating and Sustaining Winning Solutions, Chapter 8 - Integration and Extension by Luke Hohmann. Publisher: Addison-Wesley and Prentice Hall. As de... |
![]() | .NET client application "no touch" deployment: harness the full processing power of the desktop by Christopher Goldfarb, senior software architect, Intel Software Sol... |
![]()
Related Jobs:


