Using Visual Studio .NET


In Chapter 5, "Getting Started with Visual Studio .NET: Tools for Developing .NET Applications," you took a quick look at Visual Studio .NET 2003. Visual Studio .NET provides an integrated environment for developing .NET Windows Web applications and Web services (shown in Figure 9.3). Actually, the visual development of Web services isn't very rich in Visual Studio .NET; although, as you will see later, Web services orchestration add-in support by BizTalk Server 2004 does add a whole lot of features to Visual Studio .NET. However, Visual Studio .NET excels at overall project management, source code control, traditional IDE features, and the most important feature ”debugging of Web services. After Web services are launched with debugging, the Visual Studio .NET 2003 debugger appropriately kicks-in and handles breakpoints, allowing the developer to step in and step out of code like any other .NET application.

Figure 9.3. Debugging .NET Web services using Visual Studio .NET.

The more interesting and useful capability of Visual Studio .NET is related to consumption of Web services. Similar to the ease of the Add Reference tool (which allows .NET applications to add a reference to an existing .NET assembly or, as you will see in Chapter 11, "Interoperability," even COM Objects/ActiveX Controls) Visual Studio .NET provides a tool called Add a Web Reference, which allows the developer of a .NET application to connect to a Web service, as defined by its WSDL (Web Services Description Language) interface. The tool automatically creates a Web service proxy stub that provides an easy way for invoking Web methods from other Web services (see Figure 9.4). Visual Studio .NET provides capabilities to either connect to specific Web services as described by its WSDL interface or connect with an UDDI Registry (described later in the chapter).

Figure 9.4. Adding a reference to a Web service using the Add Web Reference tool.



Microsoft.Net Kick Start
Microsoft .NET Kick Start
ISBN: 0672325748
EAN: 2147483647
Year: 2003
Pages: 195
Authors: Hitesh Seth

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net