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 parts of an http response?
What is server infrastructure & server components?
Is asp.net free?
what cut off mark for po's,what questions they asked for interview?
What is the good practice to implement validations in aspx page?
In which event are the controls fully loaded?
What is difference between view state and session state?
What is ispostback method in asp.net?
What do you mean by query string?
What is a form tag?
What r the asp.net list controls and difference between them?
What are the advantages of using Master Pages?
What is the significance of proxy user?
how to include timer or counting time to display next page in asp.net
Explain cashing in asp.net.