Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how we Creating a Web Service



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

Post New Answer

More ASP.NET Interview Questions

How would you turn off cookies on one page of your website?

0 Answers  


Difference between abstract factory pattern and factory method pattern in .NET with example.

3 Answers   ACS, IBM, Keane India Ltd,


What are themes and skins in 2.0, explain usage scenario?

0 Answers  


What is custom attribute?

0 Answers  


Describe the disadvantage of cookies.

0 Answers  


3. What goals do you have in your career?

0 Answers   Swatz Oils,


How to change the form layout in ASp.net 2.0 ?

1 Answers   Netsweeper,


how to convert from sql2000 numeric to int in asp.net with sqlparameter?

1 Answers  


How you can use video conferencing in asp.net? guys plz help me ...

2 Answers  


What is Razor View Engine

0 Answers   HCL,


will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj;

1 Answers   Patni,


Is it possible to create web application with both webforms and mvc?

0 Answers  


Categories