// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
SQL Server
Test Your Knowledge: First Web Service Program with C# Explained
This test has questions on developing basic web services with C# programming language.
Table of Contents

Creating a Web Service Project

Figure 1. New Web Service Project

Generated Files

Figure 2. Solution Explorer for the FirstWebService

FirstWebService.sln and FirstWebService.suo

FirstWebService.csproj and FirstWebService.csproj.user

Service1.asmx and Service1.asmx.cs



Code Analysis


Code Listing 1. Service1.asmx


Code Listing 2. Service1.asmx.cs


Code Listing 3. A Web Service


Code Listing 4. A Web Method

Running / Testing the Web Service

Figure 3. The web service and its methods

Figure 4. Request and Response for the HelloWorld web method

Code Listing 5. The response from the HelloWorld method

Take the Test
Start the Test:
First Web Service Program with C# Explained
Read the Article
Go to Article:
First Web Service Program with C# Explained
Review Answers for Questions in this Test
Article Series
Previous Article:
First Web Service Program with C# Explained
This article is part of the Series:
Article Series: Advanced First Programs in C# Explained
Next Article:
First ASP.NET Server Control Program with C# Explained
Bookmark and Share This

More Articles With Similar Tags
This test has questions on the basics of developing an ASP.NET server control program with C# programming language.
Test your knowledge on the basics involved in creating the first ASP.NET Server Control program using C#.
How would you start with developing a Windows Mobile program using C# programming language?
This article analyzes and explains the first ASP.NET Server Control. Server Controls have functionality and user interface that can be plugged into web application projects easily.
This article explains and discusses the creation of the first web service program using .NET Framework and C#.
About  Contact  Privacy Policy  Site Map