April 2017
Intermediate to advanced
564 pages
24h 7m
English
Usually, with SOAP-based web services, we can easily generate client proxy classes by adding a service reference through Visual Studio. Whereas, with Web APIs, we use HttpClient class to do GET, POST, or any other operation on Web API, and write a few lines of code to set the request header, request body, other parameters, and serialize the response received from the server.
On the other hand, if our Web APIs are Swagger-enabled, we can easily generate client proxy classes using some third-party tools and libraries, where AutoRest is one of them. With AutoRest, we can generate client proxy classes by executing one single command through a command-line interface.
To start with, add a NuGet ...
Read now
Unlock full access