Azure-Samples / Azure-Samples/cognitive-services-dotnet-sdk-samples
Cognitive services for Dot.Net Framework
- Dominant language
- C#
- Stars
- 123
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
are these services only for console app?
Trying to use Azure cognitive services.
Microsoft.Azure.CognitiveServices.Vision.ComputerVision
The function runs when try it on console app (tried both C# & VB), however when trying to run it on windows app get errors. Basically I want to return value after calling an azure service, and use it in windows app.
Same code running on console app, but not returning any value on windows framework app.
gets stuck at below lines. the thread is processed asynchronously with no response
Dim results As DetectResult = Await client.DetectObjectsInStreamAsync(stream)
Dim textHeaders = Await client.ReadInStreamAsync(File.OpenRead(localFile), language:="en"
I don't think there should be any limitation of Azure use only on windows app
## API Name Microsoft.Azure.CognitiveServices.Vision.ComputerVision
## Working only on console app, not on windows app
...
Contributor guide
Assessment
This issue has not been assessed yet.