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 is difference between View State and Hidden Field in ASP.NET?
What are session state modes in asp.net?
What is difference between abstract class and an interface?
What are the file extensions for razor views?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
How does u get record no from 5 to 15 from a dataset of 100 records?
How long should a session id be?
Can we use a static function with a non-static variable?
What is skin in asp.net?
What is microsoft windows sharepoint services?
What is difference cookie and session?
What are sessions in asp net?
Explain the boxing and unboxing concept in .net?
What are the disadvantages of using session?
What is difference Between Authentication and authorization?