Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

REST Based webservice in asp.net

Posted on 2010-11-17
13
Medium Priority
?
535 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
12 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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: 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

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…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month20 days, 18 hours left to enroll

810 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