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 |
Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?
How to rename a table using sql queries?
Explain how can we inherit a static member?
If we write return statement in finally block will it works fine or throws any error?
What is a Windows Service and how does its life cycle differ from a standard EXE?
What is an example of an application service provider?
How .net CLR works with n-tier application
Which authentication uses a combination of windows and iis authentication?
What is protected configuration?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
What is .net remoting?
What's the ASP.Net Application life cycle?