Click here to Skip to main content
15,891,722 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
I have a client application which is using an api of VendorA. After a period of time, if i wish to switch to new api of VendorB, what are the necessary changes required at client application level to start consuming new APi of VendorB. Please let me know what all factors to be considered in enterprise scenario like scalability, maintainability, etc.,?



Are there any tools available for the same?

What I have tried:

i could not find any answer for this question stated. Any info would be of greater help
Posted
Updated 29-Apr-16 3:00am

If I understand your question correctly, the only answer that comes to mind is the obvious one: You need to change all calls that use the vendor A API into equivalent calls using vendor's B API.

You'd probably want to code an intermediate abstraction/facade.
 
Share this answer
 
v2
You're not going to find an answer to this question.

The only answer is to rewrite all of the code that handles the calls to the A API and convert them to calls to the B API.

We have no idea how much work that's going to be for you because we didn't the code.

If you abstracted all the vendor API dependent code through interfaces, this would offer you the path to the least amount of work to adapt to a new API. If you didn't, well, good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900