Click here to Skip to main content
15,894,252 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Can anyone give explanation for code project?

Why we use web service and give one sample program using web service in asp.net?
Posted

Check these

Introduction to Web Services[^]
Why Web Services?[^]

When you need to implement things with other 3rd parties, you need web service.

Here simple example, you are developing an application(Say Restaurant POINT OF SALE) for a client. And Client now wants to show the details in Kiosk(with options like booking items) & you never worked(just assume) in Kiosk so they are calling another person for that. And probably they need access for your database but you don't want give the access to your database. Then how? Here you need web service. Create methods(ShowItems, BookItems, etc.,) in web service & give them. So they can implement things easily.

And here a CP article
Your first C# Web Service[^]
 
Share this answer
 
Comments
Rajesh Anuhya 31-Dec-11 6:43am    
That is Raja , have my +5
Espen Harlinn 31-Dec-11 8:48am    
Nice reply, my 5
NandaKumer 31-Dec-11 14:26pm    
good links
Tech Code Freak 1-Jan-12 4:16am    
Great Answer! Well deserved 5up!
check this blog
ASP.NET Web Service[^]
--NDK
 
Share this answer
 
Dear Sathiyak,


Look the Following links, which will give you good idea on web service

http://aspalliance.com/979_Working_with_Web_Services_Using_ASPNET.all#Pa[^][^]


http://www.w3schools.com/webservices/ws_why.asp[^]

Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900