c# - Building a library that consumes a WEBAPI Restful service -


i have created webapi project serves data other systems.

at moment, each system consumes api have api urls hardcoded , there lot of duplicated logic call , convert data api in each system. new webapi , struggling find examples of how can wrap calling logic, data conversion , urls library systems can share. can point me in right direction?

this called client library.

you can build boiler plate code in class library project inside api solution , call yourapiclient , distribute compiled dll clients.

the thing keep in mind , manage distribution process whenever make changes api or client library.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -