signalr-chat
signalr-chat copied to clipboard
A chat app built with Blazor WebAssembly, hosted on ASP.NET Core, with the latest C# and SignalR -- need I say more?
SignalR: Chat (Advanced)
💯 Demo 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.