REST Based webservice in asp.net

How can I develop a REST Based webservice (or api) in asp.net . please provide a example.
Dinesh KumarAsked:
Who is Participating?
 
Dinesh KumarAuthor Commented:
the following link provides a good insights into REST Based web service.
http://www.codeproject.com/KB/webservices/RestWebService.aspx
it has code also. it deploys the web service in ii7.

To deploy it in iis 5.1 and iis 6,

please use the following link:

http://neilkilbride.blogspot.com/2008/03/httphandler-for-all-requests-in-aspnet.html\

for using extension as .*
0
 
Anurag ThakurTechnical ManagerCommented:
0
 
Dinesh KumarAuthor Commented:
I want to get some inputs from merchants like credit card details through a web service which is REST based and not Soap Based. can you give me some example in code.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
Dinesh KumarAuthor Commented:
isn't it good resource i.e http://msdn.microsoft.com/en-us/library/dd203052.aspx? if yes please go through it and try to answer my question.
0
 
Dinesh KumarAuthor Commented:
not getting the answer from anyone.
0
 
Jesse HouwingScrum Trainer | Microsoft MVP | ALM Ranger | ConsultantCommented:
Rest is now fully part of WCF 4.0. There was a Rest toolkit for .NET 3.5, but it never made it to a final version.

A very extensive list of articles on how to build REST services with WCF can be found here:
http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx
0
 
Dinesh KumarAuthor Commented:
I also found a link http://www.codeproject.com/KB/webservices/ReSTBasedServiceForCSharp.aspx

but i am not able to update the record here.
0
 
Jesse HouwingScrum Trainer | Microsoft MVP | ALM Ranger | ConsultantCommented:
That article looks like someone trying to roll their own solution. I'd steer away from that one.
0
 
Dinesh KumarAuthor Commented:
ToAoM what I wanted to do is to get inputs from the service user and I will send them response. Can you filter the information from the link provided by you?  I see the link given by me provides good insights.
0
 
Dinesh KumarAuthor Commented:
0
 
Dinesh KumarAuthor Commented:
In this example URL provided by me at code project I see
There is a webservice in it named RestWebService that is not running in IIS. can anyone help?
0
 
Dinesh KumarAuthor Commented:
it contains the solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.