Solved

REST Based webservice in asp.net

Posted on 2010-11-17
13
529 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

728 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