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
Is asp.net core faster?
What is the difference between session and viewstate?
How would ASP and ASP.NET applications run at the same time on the same server?
COM+ Used ________________ Isolation Level
What is GAC in ASP.NET 2.0
What is the procedure to create the environment for asp.net? : asp.net mvc
How can you apply a theme to your asp.net application?
What is in a session cookie?
What is the difference between equals() and == in c#?
Where web.config file is used?
What is event bubbling?
What is the difference between response.redirect and server.transfer?
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
To redirect the user to another page which method do we use without performing a round trip to the client?