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

Explain the differences between clr & cts?

0 Answers  


• What Session State providers are available in ASP.NET? What are the pros and cons of each?

2 Answers   Infosys,


What is css in asp.net?

0 Answers  


Can we set master page as a start page?

0 Answers  


What is form submit?

0 Answers  


Explain MVC model binders?

0 Answers   B-Ways TecnoSoft,


Differentiate strong typing and weak typing

0 Answers  


What is difference between viewstate and session state in javascript?

0 Answers  


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

0 Answers  


what are the attributes of sitemapnode?

3 Answers   Satyam,


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


What is sdlc process?

0 Answers  


Categories