👤 Trong Pham
- Visual Studio 2019 with the ASP.NET and web development workload
- .NET core 3.1 SDK or later
- Exposes local servers to the public internet by Ngrok
- Open Visual Studio 2019
- Open WebSocketService.cs file
- Add your AWS WebSocket Endpoint, AccessKeyId, SecretAccessKey
- Build and run the app
- Open ngrok.exe and run this command
>ngrok http -host-header="localhost:23409" 23409
- Update the new ngrok endpoint to your AWS Websocket config that includes $connect, $sendMessage, $disconnect.
- Open the index.html file in UI folder
- Add your AWS WebSocket Endpoint
- Run index.html to see the simple chat room
Happy coding!