Using the launch.json file in VS code for improved PowerShell debugging

Anyone that has talked to me recently about how I write PowerShell scripts will know that Visual Studio Code is my new one and only! You can write PowerShell scripts in there and hit F5 to have a similar debugging experience to what you would get in PowerShell ISE – but did you know that you can extend that to make it easier to debug and test different scenarios from within VS Code? If the answer to that is no, then read on! Continue reading “Using the launch.json file in VS code for improved PowerShell debugging”

Exception ‘Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus

As the title suggests this post is going to be about a specific issue I came across at a customer site recently in a new deployment of SharePoint 2013 that relates to the distributed cache service. Definitely one of the more challenging ones to troubleshoot from what I have seen before so I figured I should capture the result here in case it helps someone else. Continue reading “Exception ‘Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus

Using the CycleTile in Windows Phone 8 with images from the internet

I’m not shy about telling people that I’m a massive fan of Windows Phone, and the number 1 reason I like the platform and have since day 1 was live tiles. So naturally as a developer of Windows Phone apps making sure I create awesome live tiles for my apps is an important part of creating an app that people will love to use. With Windows Phone 7.8 and 8 a set of new tile formats were added, these are the Flip, Iconic and Cycle tiles (you can read more about these at http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202948(v=vs.105).aspx). I’ve looked at using the Cycle Tile implementation for my apps and the first thing I’ve discovered is that you have to use images that are stored locally on the device rather than just providing a URL to an image from the internet. Continue reading “Using the CycleTile in Windows Phone 8 with images from the internet”