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

when user is logged on the information is saved in a cookie, what is the name of that cookie?

5 Answers   Mind Tree,


What is the procedure to handle the process request using mhpm events fired? : asp.net mvc

0 Answers  


Please brief not about xsd,xslt & xml?

0 Answers  


WHAT IS polymorphism

2 Answers   Fidelity,


What is the use of execute non query in asp.net?

0 Answers  


Differences between session state and Application state?

6 Answers  


What is the difference between page directive include and action tag include?

0 Answers  


What is skin in asp.net?

0 Answers  


how to handle sql exceptions?

4 Answers   Marlabs, TCS,


what are the main advantage in .net?

4 Answers   TCS,


What are the differnt types of handler in ASP.NET?

0 Answers   Sans Pareil IT Services,


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

0 Answers  


Categories