Recent Posts

Supporting SameSite None in .Net 4.6 or lower

As I write this post, it is 4 days until Chromium begins enforcing the new SameSite rules again. When they first did this in March, it caused a number of issues including breaking website integrations with some payment gateways. If you’re on .Net 4.7 or higher, Microsoft supports setting SameSite to None. The official recommendation is that if you want to use SameSite None, then you need to m...

As I write this post, it is 4 days until Chromium begins enforcing the new SameSite rules again. When they first did this in March, it caused a number of issues including breaking website integrations with some payment gateways. If you’re on .Net 4.7 or higher, Microsoft supports setting SameSi...

API Head-to-head Update : AWS S3 Vs Windows Azure Table Storage Vs Rackspace Cloud Files

This is an update to my last API head to head from August 2014, I’m nothing if not consistent with my inconsistent posting. I’ve recently changed jobs to a new company that is moving to Azure but has some legacy Rackspace assets, so I thought it’d be fun to redo the test with Rackspace added. Worth noting that the Rackspace support for C# is completely non-existent. The official Rackspace SDK h...

This is an update to my last API head to head from August 2014, I’m nothing if not consistent with my inconsistent posting. I’ve recently changed jobs to a new company that is moving to Azure but has some legacy Rackspace assets, so I thought it’d be fun to redo the test with Rackspace added. Wor...

Converting docx to PDF in Azure

As part of a recent feature, we needed to implement conversion of docx to pdf. A quick look on Nuget revealed Free Spire.Doc for .Net. We thought this looked like a great use case for Azure Functions, so the member of the team who was implementing the feature quickly implemented this as an Azure Function, but when we deployed it, it didn’t work. After a bit of googling, the cause of this was th...

As part of a recent feature, we needed to implement conversion of docx to pdf. A quick look on Nuget revealed Free Spire.Doc for .Net. We thought this looked like a great use case for Azure Functions, so the member of the team who was implementing the feature quickly implemented this as an Azure ...

Automating repetitive tasks with Azure Functions.

Since the announcement of Azure Functions at Build 2016, I’ve been looking for an excuse to use them and I finally found it. Whenever we release a new version of our software, the actual process for building and committing to source control is really simple and takes just a few minutes. Then I get to spend at least 30 minutes on our internal job management system telling it about the new rele...

Since the announcement of Azure Functions at Build 2016, I’ve been looking for an excuse to use them and I finally found it. Whenever we release a new version of our software, the actual process for building and committing to source control is really simple and takes just a few minutes. Then I g...

Windows 10 Mobile: An update

Even though my previous post was only published 6 days ago, it was written a week before that so I’ve now got 3 weeks of usage under my belt and felt the need to post an update. The biggest issue I’ve encountered over the last few weeks, and which I forgot to incude in the previous post, was battery life. This was suffering quite a bit in diaily use to the point where regular use of email, Rea...

Even though my previous post was only published 6 days ago, it was written a week before that so I’ve now got 3 weeks of usage under my belt and felt the need to post an update. The biggest issue I’ve encountered over the last few weeks, and which I forgot to incude in the previous post, was bat...

Windows 10 Mobile: Impressions after a week.

I’ve been keeping a close eye on Windows 10 Mobile, and I haven’t really liked what I’ve seen. The navigation is a clear lift from Android, and not in a good way, and paradigms like the Pivot control which made WP8.1 unique seem to have disappeared. But I’ve never been one for sticking my head in the sand and sticking to the current version of something because the new version looks scary and d...

I’ve been keeping a close eye on Windows 10 Mobile, and I haven’t really liked what I’ve seen. The navigation is a clear lift from Android, and not in a good way, and paradigms like the Pivot control which made WP8.1 unique seem to have disappeared. But I’ve never been one for sticking my head in...

In-place upgrade Windows?! You’ve got to be kidding me!

Before the release of Windows 8, this was my default reply to anyone who dared suggest doing an in-place upgrade of Windows. I’d done it before in upgrading from 98 to ME and I’d seen and heard many horror stories of failed in-place upgrades that it become clear that it wasn’t even worth the effort, you were going to have to do a fresh install either way, so you may as well make it plan A. The...

Before the release of Windows 8, this was my default reply to anyone who dared suggest doing an in-place upgrade of Windows. I’d done it before in upgrading from 98 to ME and I’d seen and heard many horror stories of failed in-place upgrades that it become clear that it wasn’t even worth the effo...

OpenLiveWriter–It’s like Windows Live Writer but it works with my blog!

Since I started blogging, I’ve had to suffer the apalling mess that is the blogger editor. Windows Live Writer was hailed as the panacea of free editors, but whatever I tried I could never get it to work. Then Scott Hanselman and a group of Microsofties resurrected it as Open Live Writer and less than a week later, blogger support now works! Go download Open Live Writer now!

Since I started blogging, I’ve had to suffer the apalling mess that is the blogger editor. Windows Live Writer was hailed as the panacea of free editors, but whatever I tried I could never get it to work. Then Scott Hanselman and a group of Microsofties resurrected it as Open Live Writer and le...

Windows 10 upgrade experience

Microsoft have really upped their upgrade game. Pre-Windows 8, there was no point even bothering with an upgrade. Even if it completed without bricking your machine, the end result would be so unstable you’d just pave it and start again anyway. The upgrade from 7 to 8 was relatively painless, I only needed to reinstall a handful of applications afterwards, not a big deal. 8 to 8.1 was seamle...

Microsoft have really upped their upgrade game. Pre-Windows 8, there was no point even bothering with an upgrade. Even if it completed without bricking your machine, the end result would be so unstable you’d just pave it and start again anyway. The upgrade from 7 to 8 was relatively painless, I...

UniqueIdentifier as a primary key, that will solve all of our problems!

No, no it won’t. In evolving a single-instance website to multi-instance one, one of the many problems I have faced is how to deal with database access when your website instances are on the opposite side of the world. My solution to this was to use SQL Azure Data Sync, makes sense as my databases are already in SQL Azure anyway. Facilitating this involved changing all of the integer primar ...

No, no it won’t. In evolving a single-instance website to multi-instance one, one of the many problems I have faced is how to deal with database access when your website instances are on the opposite side of the world. My solution to this was to use SQL Azure Data Sync, makes sense as my databa...