Solved

what is asp.net web servce ?

Posted on 2011-09-29
6
362 Views
Last Modified: 2012-08-13
what is asp.net web servce ?
what purpose it can use at ?
how to clear understand without difficulty ?

0
Comment
Question by:tamilsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 25

Assisted Solution

by:Luis Pérez
Luis Pérez earned 150 total points
ID: 36815906
I'll try to give you the more simple information.

You use Visual Studio (or WebMatrix or something else) and ASP.net to create web sites. Your web site contains .aspx pages; those .aspx pages are called by browsers and render as HTML code to the browser that calls them. Normally, the .aspx pages provides an user interface.

Web services are a different type of component in your ASP.net web site. As well as you can provide pages in your site, you can also provide web services. Think in web services as they were "functions" that you can call (event passing parameters) from outside your web (you can call it from another web site, or from a Windows application... or from somewhere else) and they return XML.

So imagine that you work in a big weather company. Your company has a great website (made in ASP.net) providing weather information. But the web site can also contain a web service that, when called -for example passing a postal code as a parameter- returns (in XML) information about the weather in that postal code. You can sell this information to another companies that want to show weather information in their web sites.

A web site can contain many web services (many "functions"), the same way it contains many pages. Even you can create a web site without pages, only web services.

Your web service will provide a public URL (for example, "www.weathercompany.com/weatherInfo.asmx") for calling it. Of course, you can deal with complex classes for parameters as well as for output results, because .Net built-in serialization capabilities can transform those complex classes in XML.

I hope now it's clear to you.
0
 
LVL 1

Assisted Solution

by:THBA
THBA earned 200 total points
ID: 36815999
http://msdn.microsoft.com/en-us/library/t745kdsh.aspx

It is just a web service written in ASP.NET (like c#, Visual Basic .NET, etc...)
Web Service can also be written in Java, php, and other languages.
0
 
LVL 1

Assisted Solution

by:dannocracker
dannocracker earned 50 total points
ID: 36816195
A web service provides functionality without a UI. It provides data or behavior that other apps request. The web server provide http protocol access to it but the payload is usually a xml message standard format such as SOAP.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Assisted Solution

by:Kaushal Arora
Kaushal Arora earned 50 total points
ID: 36816224
0
 
LVL 1

Accepted Solution

by:
THBA earned 200 total points
ID: 36857297
Just think of a web service like a public library of functions accessible from a web server.  Normally, if you have a console application,  You can use someone else's functions (from their library) to query a database. So, another team member can write a function called GetTotalSales(companyID). They put the function in a dll. You include the dll as part of your reference in Visual Studio. You can now call the function GetTotalSales.

Let's say, you are writing a page on your company website.  The other team member can put that function on a webserver and make it a web service. That way, they do not have to distribute the dll. If they need to make a change to the function, they change it on the web server. Your application (using Visual Studio, you have a web service as a reference) calls the function the web service.  The main advantage of a web service is that  there is no need to re-distribute the library to everyonewho's using your functions -- especially after a change to the function.  
0
 

Assisted Solution

by:anandblitz
anandblitz earned 50 total points
ID: 36890180
Web services are components on a Web server that a client application can call by making HTTP requests across the Web. ASP.NET enables you to create custom Web services or to use built-in application services, and to call these services from any client application.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question