Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.16 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.16 KB

SignalR: Chat (Advanced)

Deploy App

Run locally

To run locally, you'll need to have several environment variables created. The configuration object is expecting a value that doesn't exist. For the translator specifically, you'll need to create an Azure account, and corresponding Azure resource for the translator. There is a free tier, you can sign up here:

Azure Translator Docs: Create a Translator resource

Environment Variables

Name Value
TranslateTextOptions__ApiKey <Your Translator Resource's API key>
TranslateTextOptions__Endpoint https://api.cognitive.microsofttranslator.com/
TranslateTextOptions__Region <Your Translator Resource's Region>

After you've created the resource, and added the environment variables, close and reopen your IDE. It should then work.