How to make ASMX Service RESTful ? RRS feed

  • Question

  • User26162944 posted


    I have ASMX Web service and I am thinking to make it RESTful Service by using verbs such as 'POST','GET','DELETE','PUT'. How would I use WebInvoke or WebGet attribute on WebMethod attribute to make existing ASMX service RESTful and consume it from Windows client. Please suggest some solutions.

    Thanks in advance!!


    Monday, December 24, 2012 4:53 PM


  • User541108374 posted


    why would you want to go through the trouble of making this rest based? Simply create your service with Web API or WCF instead. Especially Web API has rest built in by default.

    Grz, Kris.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 25, 2012 2:54 AM