Nunit [ExpectedException] attribute no longer in use 3.0 onwards.

Was converting a series of unit tests from MsTest to Nunit (due to TeamCity constraints with MsTest).  Was scratching my head for a while – Coulda sworn Nunit supports the ExpectedException attribute.  Quick google and it does – Look! there in the official Nunit…

Messing about with the PushBullet API

Stumbled across the PushBullet API and Android App.  Spent 10 mins and managed to send push notification to my phone using curl as follows:- You’ll need to signup and PushBullet to gain access token. curl -k –header “Access-Token: <your access token>” https://api.pushbullet.com/v2/pushes -X POST –header…

Azure Connection Strings

Connection string data should always be removed of obfuscated in source control.  There are many approaches to accommodating this. Scott Hanselmann has a great post on this.  Azure makes this even easier if you’re hosting a web app that’s referencing a database somewhere. To…

Web API Adventures – Part 1 – Swagger

One thing not immediately obvious with the Swagger API documentation was how to generate metadata particularly for any parameters required as part of an API call. Surely decorating the API method in question with Summary attributes would make it’s way through to the Swagger…

Gacutil fails to register a dll and fails silently

I hit a bit of an issue the other day. Me and the DBA were rolling out quite a sizeable deployment into production.  We were about half way through our deployment checklist (also known as the runbook).  It was going well, too well in fact….