wishcodelabs / signalr-chat

A chat app built with Blazor WebAssembly, hosted on ASP.NET Core, with the latest C# and SignalR -- need I say more?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A chat app built with Blazor WebAssembly, hosted on ASP.NET Core, with the latest C# and SignalR -- need I say more?

License:MIT License


Languages

Language:C# 56.0%Language:HTML 25.1%Language:CSS 13.1%Language:JavaScript 5.7%