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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between View State and Hidden Field in ASP.NET?

1150


What are session state modes in asp.net?

1042


What is difference between abstract class and an interface?

954


What are the file extensions for razor views?

1156


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

2473


How does u get record no from 5 to 15 from a dataset of 100 records?

956


How long should a session id be?

1051


Can we use a static function with a non-static variable?

977


What is skin in asp.net?

963


What is microsoft windows sharepoint services?

1091


What is difference cookie and session?

996


What are sessions in asp net?

1023


Explain the boxing and unboxing concept in .net?

868


What are the disadvantages of using session?

1113


What is difference Between Authentication and authorization?

1159