how we Creating a Web Service
Answer / 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 |
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
Have u used webcontrols?Tell me something about these?
Is it possible to add aspx.vb file in to C# Web Project? If so how can i use the vb file in the C# Web project?
How can you execute stored procedure from windows application?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
Is global asax mandatory?
How can you implement the postback property of an asp.net control?
Where session variables are stored?
what is state management,what is the purpose of it,how it will be implemented in real time?
What is the use of dispose method?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What is Web Server Control Templates.?