It's all about the answers!

Ask a question

Visual Studio Api


0
1
Mohan Bhakri (176) | asked Aug 01 '13, 7:54 a.m.

Hello ,

I am trying to connect to RTC repository programatically using API .

I have dowloaded visual studio plugins and trying to use the dll

https://jazz.net/wiki/bin/view/Main/APIUsage#How_does_the_VS_Client_talk_to_t

Question

Can i get any example , so that I can use rest service in c# .

One answer



permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Aug 01 '13, 8:08 a.m.
Hi Mohan,
https://jazz.net/wiki/bin/view/Main/APIUsage#How_does_the_VS_Client_talk_to_t does not present any dll file.

Anyway these 3 links can demonstrate you how to use REST in c#:
http://stackoverflow.com/questions/4970499/c-sharp-rest-api-client
http://stackoverflow.com/questions/9620278/how-do-i-make-calls-to-a-rest-api-using-c
http://msdn.microsoft.com/en-us/magazine/ee309509.aspx

Let us know if it helps for you.

Best regards,
Krzysztof Kazmierczyk

Comments
Mohan Bhakri commented Aug 02 '13, 3:14 a.m.

Hello Krzysztof,


I have dowloaded plugins where it had some of dll for RTC RepositoryClient.dll and many others . With this dll I am able to connect to RTC repository 
for example in c#
teamRepository = TeamPlatform.GetTeamRepositoryClient().GetTeamRepository(repositionConnectionDetails.URL, 1); 


But I dont if we can use this api or not . This does not have official documentation . just by backtracking i found out the way . 

Like wise there are Rest based service api available as part of dll 
for example RepositoryService.dll .
I am looking for sample code 

The link which u had sent is also useful , thank u

Regards
Mohan

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.