READY-TO-RUN PROJECTS WITH SAMPLE CODE
This is a step-by-step tutorial that demonstrates the unique mechanisms that PowerWebSockets employs to maximize throughput when pushing a large number of messages asynchronously.
Read the full tutorialThis is a step-by-step tutorial that demonstrates how the messaging API of PowerWebSockets is independent from whether a connection is outbound or inbound, enabling the same instance of the service to act both as a server endpoint and as a client at the same time.
Read the full tutorialDemonstrates the ability of the WebSocketService to push a large number of messages to thousands of connections concurrently.
DownloadClient channels are dispatched based on the URI that they use when connecting to the service. Channels subscribed to the same topic are grouped using the instance of WebSocketService that represents that topic.
DownloadDemonstrates how to create and host a service, connect a client to the service and exchange text and binary messages between them.
DownloadDemonstrates how message fragmentation is performed transarently when streaming arbitrary sized data using the streaming API of PowerWebSockets.
DownloadDemonstrates how to use the WebSocket handshake to exchange cookies between the client and the service.
DownloadDemonstrates how to use TLS security and how to authenitcate an inbound connection by validating the X.509 certificate provided by the client.
DownloadDemonstrates how to authenticate a client connection using a username/password combination and HTTP basic authentication.
DownloadDemonstrates how to perform requests from a client to messaging service operations.
DownloadDemonstrates a PowerWebSockets messaging service pushing callbacks to all connected clients concurrently.
DownloadDemonstrates how a PowerWebSockets endpoint and a WCF endpoint can communicate using WebSocket as transport and LiteJM as encoding.
DownloadDemonstrates a server organized into a P2P network using the Coordinator service. Clients request the list of available peer servers from the Coordinator and then each client connects to a different server and exchanges messages with it. The P2P servers perform message routing and appear as a single server to all connected clients, sharing the load between them.
DownloadDuplex communication between an Android application and a .NET WCF server using Xamarin.Android and LiteJM.
DownloadAn Android application exchanging files with a .NET WCF server using Xamarin.Android and the binary attachments of LiteJM.
DownloadAn Android application acting as a WebSocket server and accepting connections from .NET clients.
DownloadDuplex communication between an iOS application and a .NET WCF server using Xamarin.Android and LiteJM.
DownloadDemonstrates how to use PowerWebSockets to build an Android chat app that communicates with a .NET server. It features user-to-use private messaging, channel grouping for chat rooms, and user-to-user file transfer.
Download