Getting speech working with WordTutor

Quickstart

https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/quickstarts/text-to-speech?tabs=dotnet%2Clinux%2Cjre&pivots=programming-language-csharp

https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/text-to-speech

portal.azure.com

Authenticate with my Azure account

Create a Resource

Search for Cognitive Services & press Create

https://azure.microsoft.com/en-us/pricing/details/cognitive-services/

https://azure.microsoft.com/en-us/pricing/details/cognitive-services/speech-services/

Key - c28a34696f10438490700d6afab04033 Region - australiaeast

Create new project WordTutor.Azure

dotnet user-secrets init

C:\GitHub\wordtutor\src\WordTutor.Azure
[master ≡ +12 ~6 -0 !] 16:19:46 PS> dotnet user-secrets init

Set UserSecretsId to ‘ab66dbe0-608d-4ac8-84a4-cb083baac56b’ for MSBuild project ‘C:\GitHub\wordtutor\src\WordTutor.Azure\WordTutor.Azure.csproj’.

dotnet user-secrets set “WordTutor:SpeechApiKey” “c28a34696f10438490700d6afab04033”

C:\GitHub\wordtutor\src\WordTutor.Azure
[master ≡ +12 ~6 -0 !] 16:20:36 PS> dotnet user-secrets set “WordTutor:SpeechApiKey” “c28a34696f10438490700d6afab04033” Successfully saved WordTutor:SpeechApiKey = c28a34696f10438490700d6afab04033 to the secret store.

dotnet user-secrets set “WordTutor:SpeechApiRegion” “australiaeast”

	HResult	-2146232832	int