Hi..
I want to know that How i create a services for asp.net application?
How to create services in the Asp.net application
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Apr 19, 2012, 10:01 PM EDT
There are two standard way to create the web services in asp.net
1) standard web services (.asmx)
2) WCF (.svc)
1) You can add the web service page in your application using add new item. It will have the interfaces and web service class to expose the client. Usually the class should be web service and methods which expose to the clients should be web methods.
http://www.codeproject.com/Articles/863/Your-first-C-Web-Service
http://www.4guysfromrolla.com/articles/062602-1.aspx
2) ASP.Net 3.5 onwards the web service can be created using the WCF where it uses the different protocols.
TCP, HTTP, MSMQ, etc..,
http://wcftutorial.net/
http://www.codeproject.com/Articles/33995/Getting-Started-with-WCF
Hope this will help you.