Part 4: Visual
Studio .NET sample C# Web Service
Visual Studio .NET comes with a number of good samples which
we will utilize in several lessons. Our first project will be
to create our first web service using Visual Studio .NET and
C#.
Launch Visual Studio .NET and select the Microsoft Visual
C# .NET icon on the splash screen. On the Start
Page select New Project in the left pane select
the Visual C# Projects folder in the right single
click ASP.NET Web Service. In the dialog box you
can leave the default name of WebService1 so the
location reads http://localhost/WebService1 and
click OK.
When VS is done creating the project, look in the upper right
part of the screen at the box labeled The Solution Explorer.
This gives a hierarchical view of the files in a project. Your
screen should look like this.
|