Open jconaty opened 7 years ago
Cannot repro. I know there were some issues with the servers earlier. It is possible this just works now?
Hi Chris, Wish it was the case. No such luck. Are you using my class?
Yes. The only change I made was to replace Removed_id
with my own. I called LinguisticAnalyzer.Parse("This is a test");
from a console app.
Hmm.. Im using the bot framework. I wonder if there is an issue with an async call or something.
The Magic happened! ConfigureAwait(false) is my new friend. Thank you sir!
I think this can be closed.
Request to get analyzer list just hangs. Specifically > return Client.ListAnalyzersAsync().Result This ultimately calls an http client request.
My code is directly from the sample app. Here is the default url in the LinquisticClient library private const string DefaultServiceHost = "https://api.projectoxford.ai/linguistics/v1.0";
Here is the class that I created
` public static class LinguisticAnalyzer { private static readonly LinguisticsClient Client = new LinguisticsClient("Removed_id");