Results 1 to 6 of 6

Thread: [2.0] REST webservice

  1. #1

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    [2.0] REST webservice

    Hi guys good day. I just wanna ask if anyone here tried writing REST web service in C#?


    Links or articles would greatly appreciated.

  2. #2

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: [2.0] REST webservice

    I think people in this forum take a lot of rest that they didn't notice this thread.


    Ok I tried using wsdl.exe of the .net framework to generate c# code from wsdl file so that I could easly retrieve the value but the thing is it doesn't generate into c# code throws a lot of warnings.
    btw the wsdl file generated from cxf.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [2.0] REST webservice

    Quote Originally Posted by mar_zim
    I think people in this forum take a lot of rest that they didn't notice this thread.
    No one gets paid to do this. We are all volunteers, and we are here when we are here.

    Does this help?

  4. #4

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: [2.0] REST webservice

    No one gets paid to do this. We are all volunteers, and we are here when we are here.
    I thought robdog gets paid in doing this.

    Well thanks hack.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2.0] REST webservice

    It's very easy to do REST web services in ASP.NET. If you think about it really, a REST 'service' is nothing but a glorified web page which returns XML or strings to the calling client. Just change the returned contenttype when returning the string/xml data.

    What I like about Hack's link, which goes to http://www.codeproject.com/KB/archit...icesPart2.aspx , is that it talks about DELETE as well. What I find unfortunate in the world of REST is that people usually implement POST and GET because it's simple, but I haven't seen a lot of examples using DELETE and PUT. In an ideal world, those would be used as much as GET and POST, since they represent the type of action you should be performing.

  6. #6
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    Re: [2.0] REST webservice

    it's easy with 3.0, even easier with 3.5 ..

    but how to consume REST webservice with asp.net 2.0 ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width