Answer Posted / merinkmathew
We are going to use C# to create a Web Service
called "SecurityWebService." A Web Service file will have
an .ASMX file extension.
The first line of the file will look like
<%@ WebService Language="C#" class="SecurityWebService" %>
This line will instruct the compiler to run on Web Service
mode and the name of the C# class. We also need to access
the Web Service namespace. It is also a good practice to
add a reference to the System namespace.
using System;
using System.Web.Services;
The SecurityWebService class should inherit the
functionality of the Web Services class. Therefore, we put
the following line of code:
public class SecurityWebService : WebService
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What are the new navigation controls in asp.net 2.0?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
How to find last error which occurred in Asp.net ?
Where sessions are stored in asp.net?
Explain client-side scripting?
Who generates session id?
What are the different method of navigation in asp.net?
What is in a session cookie?
How do I know asp.net mvc version? : Asp.Net MVC
Is oauth for authentication or authorization?
What are the different types of sessions in asp.net?
What is the importance of Global.asax in ASP.NET?
How can you identify that the page is post back?
Whats the difference between abstract factory pattern and factory pattern?
Where is the view state data stored in asp net?