question

47026594 avatar image
1 Vote"
47026594 asked CarlFrazee-9652 commented

How to use form recognizer in asp.net MVC (.net frame work 4.6.2)

Code:
FormPageCollection formPages = await recognizerClient
.StartRecognizeContentAsync(stream)
.WaitForCompletionAsync();

Question:
When I use this piece of code from console application(.net frame work 4.6.2), it successfully responded.
But if I use this piece of code from .net MVC, it doesn't respond.
Does form recognizer not support web version?


azure-form-recognizerdotnet-aspnet-mvc
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I used the same data, apiKey, endpoint

0 Votes 0 ·

Id use a coexisting cord string.

0 Votes 0 ·

In fact my controller forgot to use async Task<ActionResult>, the problem is solved

0 Votes 0 ·

1 Answer

47026594 avatar image
1 Vote"
47026594 answered ramr-msft edited

In fact my controller forgot to use async Task<ActionResult>, the problem is solved

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@47026594 Thanks for the update.

0 Votes 0 ·