Solved

REST Based webservice in asp.net

Posted on 2010-11-17
13
527 Views
Last Modified: 2012-05-10
How can I develop a REST Based webservice (or api) in asp.net . please provide a example.
0
Comment
Question by:Dinesh Kumar
  • 9
  • 2
13 Comments
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 34162007
0
 

Author Comment

by:Dinesh Kumar
ID: 34162263
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
 

Author Comment

by:Dinesh Kumar
ID: 34162339
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:Dinesh Kumar
ID: 34166471
not getting the answer from anyone.
0
 
LVL 17

Expert Comment

by:Jesse Houwing
ID: 34172057
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
 

Author Comment

by:Dinesh Kumar
ID: 34186543
I also found a link http://www.codeproject.com/KB/webservices/ReSTBasedServiceForCSharp.aspx

but i am not able to update the record here.
0
 
LVL 17

Expert Comment

by:Jesse Houwing
ID: 34186643
That article looks like someone trying to roll their own solution. I'd steer away from that one.
0
 

Author Comment

by:Dinesh Kumar
ID: 34186889
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
 

Author Comment

by:Dinesh Kumar
ID: 34202611
0
 

Author Comment

by:Dinesh Kumar
ID: 34202809
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
 

Accepted Solution

by:
Dinesh Kumar earned 0 total points
ID: 34221929
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
 

Author Closing Comment

by:Dinesh Kumar
ID: 34255639
it contains the solution.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 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