I've recently used the HPRM ServiceAPI (the REST/JSON interface) from a Linux C application and it worked very well. Now I need to perform a similar task from within a C# .NET app, however although it looks like there are .NET bindings for the ServiceAPI, I can't seem to find where they are!
The ServiceAPI documentation says this:
Using the .Net Client Libraries
The .Net client libraries are installed in the folder DotNetClient, to use them:
- copy them to your client machine,
- reference them from a .Net Solution
- from the class in which you will call the ServiceAPI add the following using statements:
- using HP.HPTRIM.Service.Client
- using HP.HPTRIM.ServiceModel;
Ensure that all five DLLs are referenced:
But I can't find those DLLs. They aren't included in any of the installation files I have, and they aren't installed on a machine with HPRM Desktop installed. I can't see a "DotNetClient" folder anywhere.
Whereabouts do you obtain these DLLs from?
I am hoping using these will work better than the .NET SDK as from what I read this will be slowly phased out, and it's not as easy to work with either (e.g. you need HPRM installed on the machine running the .NET app, which is not so great for a server-side program, and you can't easily specify which user to connect to in the event that the service account running your app does not have HPRM access.)
For this reason I'd like to stick with the REST/JSON ServiceAPI interface, however before I go down the path of issuing raw HTTP GET/POST commands and deserialising the JSON myself, I'd like to investigate the above .NET library as it looks like it handles all this already.
Any pointers to where you can obtain this will be much appreciated!