Closed gzepeda closed 7 years ago
@gzepeda For SDK, there are two kinds of initialization for FaceServiceClient
and the other one supports endpoint configuration. Please refer to the code here [1]. For the WPF sample, we are already working on that, please be a little bit patient. You may refer to some progress here [2].
[1] https://github.com/Microsoft/Cognitive-Face-Windows/blob/1.3.0/ClientLibrary/FaceServiceClient.cs#L176 [2] https://github.com/Microsoft/Cognitive-Common-Windows/pull/8
Thanks for the quick reply. I will use the other initialization method for the Xamarin App.
Close as problem resolved.
I was testing the WPF to see some sample code for a Xamarin App and I could not get my API key working. I noticed the different regions you could use and I saw on the Face Detection DLL (Microsoft.ProjectOxford.Face) you have the URL hardcoded on the file FaceServiceClient.cs.
I had to recreate the service on Azure and put it on westus to get the WPF app working.
It would be nice that this parameter could be configurable from the client.