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

What setting must be added in the configuration file to deny a particular user from accessing the secured resources?

0 Answers  


version information of assembly consist of _________ values.

3 Answers   AG Technologies,


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

0 Answers  


How can you handle errors in Web API?

0 Answers  


what is webpart? what r the parts in this webpart (zone)

2 Answers  


How to Deploy a project?

2 Answers  


What is deff. saop and disco?

1 Answers  


What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it?

1 Answers   Syntax Softtech,


Should validation (did the user enter a real date) occur server-side or client-side? Why?

4 Answers   Siebel Systems,


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

0 Answers   Sans Pareil IT Services,


Explain the differences between managed and unmanaged code?

0 Answers  


best .net institute in hyderabad

7 Answers  


Categories