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
Where is session data stored in asp net?
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
Which control has default post back is enabled(true)?
What is the good practice to implement validations in aspx page?
How to comment out asp.net tags?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
What is a web server? What are the load limits in it?
What are the namespace classes used in asp.net mvc? : asp.net mvc
What is asp.net futures?
What is difference between session and cookies?
What is sql data source control in asp.net?
Write the different features of a Thread and a Process?
What is rending process in ASP.NET?
Which method is used to force all the validation controls to run?
What is asp.net with mvc? : Asp.Net MVC