Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have to use API of another project in my project..
my application is windows desktop application, so can i use API in this application ?
Posted
Comments
Madhuri Gamane 9-Sep-14 2:11am    
ok, i got how to add or remove reference, but can i add web API for Desktop API ?
Pikoh 9-Sep-14 3:03am    
First,don't add a comment to give more information about your question. Just improve your original question.
Second, so what you want is consume a web service from your winforms application? if that's your question, yes, you can.
Madhuri Gamane 9-Sep-14 6:48am    
thnx..

Assuming your "other" project is a .NET assembly that exports some methods you can easily do this by referencing the other assembly in your desktop application.

How to: Add or Remove References
[^]

You provide very little information, so without more knowledge about your projects I cannnot give much more help. This answer is a guess about what you need help with.
 
Share this answer
 
v2
Reading your comment it seems you want to consume a web api service from your winforms application. You've got an example of doing it here (calling a web api from a net client[^])
 
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