One of the requirements I set myself for my Socket library was that it should be as robust as possible about knowing that the other end of a connection had gone away. The .net socket objects are pretty bad for this, and the only way to be certain that the connection is up is to attempt to read or write its data stream. Continue reading “Linux and Xamarin socket problems”
Month: May 2016
MS Test and NUnit
When I wrote my Socket library I also wrote a set of Unit Tests for it, using the MSTest framework built into Visual Studio. Now that I have released it, including a build for Android, I thought I had better run the unit tests on Android as well. Continue reading “MS Test and NUnit”
Security bug in Dropbox sample code
If you have read the last entry on Dropbox login using the V2 API and compared it with the original sample code from Dropbox you may have noticed that I haven’t called the routine to initialise certificate pinning. Continue reading “Security bug in Dropbox sample code”
Dropbox support for Xamarin.Forms
The new Dropbox v2 API makes it quite straightforward to add support for Dropbox into an app running on a phone or tablet. When I decided to add Dropbox support to Mobile DMX it quickly became obvious, looking at the “SimpleTest” sample app, that the awkward part is logging in, but uploading and downloading small files would then be very easy. Continue reading “Dropbox support for Xamarin.Forms”