convert a WCF Service, to a RESTful application?

前端 未结 4 2043
北荒
北荒 2021-01-02 04:45

Hey im not getting anywhere with turning wcf into a restful service. So I was wondering if some one can take the basic code when you start a WCF Service application here:

4条回答
  •  隐瞒了意图╮
    2021-01-02 05:17

    This is example project from codeproject.com. There is need to make

    [WebGet(UriTemplate = "?id={id}")]
    

    instead of

    [WebGet(UriTemplate = "{id}")]
    

提交回复
热议问题