Is there a WCF Rest C# Client Generation Tool?

后端 未结 4 1295
南方客
南方客 2021-02-04 00:55

Before I venture down the path of creating one, I was wondering if anyone knows of a utility program which will take the REST Help page of a WCF Rest Service and create the rele

4条回答
  •  清歌不尽
    2021-02-04 01:18

    Well, there will not be any use even if you would like to abstract. ALL Rest services can use HTTP verbs like GET, POST, PUT, DELETE

    So, basically what your client can have is only a static class which can accept the end point, network credentials, a name value collection which needs to be passed and the verb to use.

    This would be more of a utility class rather than a client.

    I don't remember seeing WSDL or some contract based on which we can write clients for the REST services.

提交回复
热议问题