AutoRest

The Azure team have put together this really great tool - called AutoRest - that can generate a client library for a Rest based API using a Swagger document. Fire up a command prompt, pass AutoRest.exe some parameters and like magic you have an instant library in your language…

Format Date based on User's Locale in a UWP App

Another app I was working on recently needed to fetch the current date but also be in the correct format depending on the location settings found in Settings -> Time & Language -> Region & Language -> Country or region in Windows 10. The following code did…

TripleDES Encryption in WinRT

A recent Universal Windows Store app I was working on needed a way to encrypt/decrypt data on the device. After looking around I couldn't find the code I was looking for, so I crafted a bit of a helper class and I am including it here to help anybody…