Creating a Simple Web Service

Visual Studio .NET provides a template for creating a new Web Service using managed C++ and the .NET Framework. The template provides the basic foundation for writing a Web Service. However, once the base Web Service code is created, the rest of the implementation is up to you.

Creating the New Project

You start creating a new Web Service by selecting the New, Project menu item from the main menu and selecting the Managed C++ Web Service option, as shown in Figure 11.2.

Figure 11.2. The New Project dialog with the Managed C++ Web Service project selected.

Name the new Web Service WebService and select the OK button ...

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.