This tutorial shows how standalone .NET desktop application can communicate over the web with an echo service running within Kaazing WebSocket Gateway using Kaazing .NET WebSocket Client library. The application sends text messages to the echo service over WebSocket using Kaazing .NET WebSocket Client library.
The echo service, running inside the Kaazing WebSocket Gateway, reflects back the message that is received by the .NET application.
- Microsoft .NET Framework 4.5.2
- Microsoft Visual Studio 2015 or higher
- Load the solution
EchoDemo.slnin Microsoft Visual Studio - Execute 'Build/Build All'
Note: To test basic authentication for WebSocket connection in demo app use URL - wss://sandbox.kaazing.net/echo-auth for location.
Checklist how to create Kaazing .NET WebSocket from scratch, to be able to send and receive messages over WebSocket can be found here.
API Documentation for Kaazing .NET WebSocket Client library is available: