none
windows Azure REST API

    Question

  • How could I implement a  RESTful web api using windows azure. I want to to use table storage 

    tnx

    Wednesday, March 28, 2012 1:07 PM

Answers

All replies

  • Hi,

    If you mean accessing table storage using REST APIs, you can go through the following links:

    http://msdn.microsoft.com/en-us/library/windowsazure/dd179355.aspx 

    http://msdn.microsoft.com/en-us/library/windowsazure/dd179423.aspx 

    I hope it helps!!


    If you found this post useful, Please "Mark as Answer" or "Vote as Helpful". Thanks! Vaibhav Gujral.

    • Marked as answer by n_2012 Wednesday, March 28, 2012 7:27 PM
    Wednesday, March 28, 2012 1:13 PM
  • You may also want to look at http://azurestoragesamples.codeplex.com/ project as well on CodePlex. It contains code samples for Azure Storage both using Storage Client library and REST API. Plus its open source!!!

    Hope this helps.

    Thanks

    Gaurav Mantri

    Cerebrata Software

    http://www.cerebrata.com

    Wednesday, March 28, 2012 2:44 PM
  • Hi,

    If you want to create a RESTful application/service in Windows Azure you should go with ASP.NET Web API: http://www.asp.net/web-api This allows you to easily create RESTful applications with the same programming model as ASP.NET MVC. Besides that it allows you to use the Azure SDK to interact with table storage.

    Now, if you just want to talk to the table storage using its REST api you should follow the links provided by Vaibhav Gujral.

    Sandrino


    Sandrino Di Mattia | Twitter: http://twitter.com/sandrinodm | Azure Blog: http://fabriccontroller.net/blog | Blog: http://sandrinodimattia.net/blog

    • Marked as answer by n_2012 Wednesday, March 28, 2012 7:13 PM
    • Unmarked as answer by n_2012 Thursday, March 29, 2012 9:11 PM
    Wednesday, March 28, 2012 2:49 PM
  • I want to thank you Sandrino, my question was to be precise ,

    implement REST interface using Microsoft Azure Cloud platform using .Net and C# . The rest interface can be name/email storage. and it has two levels for example http://localhost/name and  http://localhost/name/email.    the actions on both levels can http://localhost/name

     GET , gets list of names POST adds new name and for the second  http://localhost/name/email.....GET, gets all emails, PUT updates email and DELETE removes email.          and the names and emails should be sored at azure table  storage or Azure SQL.

    Wednesday, March 28, 2012 7:24 PM
  • I have done few ASP.net wep API tutorial (mvc4) but I not sure the difference with the cloud web Role. just got confused there. Thanks In advance  cheers
    Wednesday, March 28, 2012 7:27 PM
  • Thank you Vaibhav so much. May be I should have been clearer. 

    what I want is to implement a simple REST interface which can store name and emails. using Azure platform. And it has two levels like:

    http://localhost/name and http://localhost/name/email. and This has to be stored on Azure table or Azure sql.

    I was able to do few asp.net web api's (mvc4) but I dint get any clue to use the windows Azure sdk. 

    Thanx for the help

    Wednesday, March 28, 2012 7:33 PM