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 session state modes? List some of the important session state modes of asp.net.
What is comparevalidator?
What is ispostback property?
What are the differences between the response.write() and response.output.write()?
Differentiate between authentication and authorization.
Explain difference betn dataset and recordset?
What is the maximum number of classes that can be contained in one dll file?
Explain the asp.net page life cycle.
Explain the role of global.asax?
What are the validation controls available in ASP.NET?
Why asp.net is used?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
What is application state?
Explain login controls.