What is the best way to return errors from a WCF service in a RESTful way?

前端 未结 5 1716
谎友^
谎友^ 2020-12-04 18:11

Using WCF in a RESTful way seems great. I’m a big fan of the big guns like simplicity and flexibility, but I also love the way the Urls end up looking. What can I say, I’m a

5条回答
  •  半阙折子戏
    2020-12-04 18:50

    This may be a defect. As of 9/22/2011, the issue is under review by the product team:

    http://connect.microsoft.com/VisualStudio/feedback/details/690162/wcf-rest-custom-outgoingwebresponsecontext-statusdescription-not-returned-in-response

提交回复
热议问题