Solved

REST Based webservice in asp.net

Posted on 2010-11-17
13
523 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
 

Author Comment

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

Expert Comment

by:ToAoM
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 17

Expert Comment

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now