I published a new tutorial showing how to build a simple chat application on top of QuantumGate. You can read the full tutorial over at the CodeProject website. I’ve also given this sample application its own repo on GitHub where the full source code is available along with instructions, and pre-built releases that people can try out without having to build the project themselves.
I’ve kept the application very basic to show people how to get started using QuantumGate and not overwhelm them with the code. If you look at the source code, you’ll see that most of the code is for handling the user interface updates, while the code required to run the QuantumGate local instance and the custom chat extender are very minimal. This shows how fast developers can get started building applications on top of QuantumGate, not having to worry about the low level networking and cryptography details and letting QuantumGate handle that for them.
I spent around 4 days making this sample, most of which was spent on reading up on the new C++/WinRT framework that I used for the user interface. I wasn’t yet familiar with that latest framework from Microsoft so it was also an opportunity for me to take a closer look at it. I plan on using that framework for a similar, much more serious chat application in the future.
As it is now, all communication using this chat application is compressed and encrypted. With just a few lines of extra code you can add cover traffic and padding to make traffic inspection/analysis more difficult and even include relayed connections for extra privacy and security. A good follow up exercise for anyone who wants to continue to build on top of this sample project.