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
How do we assign page-specific attributes?
What is preprocessor in .net? Where it use?
What is difference between viewstate and session state in javascript?
What is cookies cache and session?
Explain asp.net web forms.
What are the new features implemented in ASP.NET?
What is the part of url?
Give an example of what might be best suited to place in the application_start and session_start subroutines?
What is true about application service provider?
witch is the best insistute in sharpoint course.what abt future of share point course.
What is advantage of code behind coding in ASP.NET?
What is an il?
What is data cache in sql server?
Can asp.net work on an nt server?
What are standard controls?