Martin Costello's Blog

The blog of a software developer and tester.

SQL LocalDB Wrapper v2 - The Next Generation

2 October 2018 by Martin Costello |
2 October 2018 by Martin Costello

After over 2 years and 100,000 package downloads since the last release of SQL LocalDB Wrapper, I've released version 2 to NuGet.

Version 2.0.0 of SQL LocalDB Wrapper is a major rewrite of version 1.x.x, and is now fully .NET Core compatible. You can read more about the changes in the release notes.

Read more...

Writing Logs to xunit Test Output

30 September 2018 by Martin Costello |
30 September 2018 by Martin Costello

Today I've published a NuGet package that simplifies the mechanics of writing logs to the test output for xunit tests, MartinCostello.Logging.XUnit v0.1.0. It's open-source with an Apache 2.0 licence and available on GitHub.

Pull Requests and questions are welcome over on GitHub - I hope you find it useful!

Read more...

Deploying a static website to Azure Storage from AppVeyor

30 June 2018 by Martin Costello |
30 June 2018 by Martin Costello

This week the Azure storage team finally announced that Azure Storage now support hosting static websites. This has been a long-standing request from users of Azure (for nearly 4 years), so it's great to see something now available for use, even if at the time of writing it's currently only in public preview.

I've been hosting this blog in AWS for almost a year now, so I thought I'd give the public preview a try and automate deployment with AppVeyor as well at the same time.

Read more...

Upgrade to ASP.NET Core 2.1 for Productivity and Performance Gains

23 June 2018 by Martin Costello |
23 June 2018 by Martin Costello

I've been using .NET Core since it was released back in June 2016 as my development technology of choice for my personal projects, as well as helping introduce it as a mainstream technology choice at Just Eat (my current employer).

I find it so much more pleasurable to code against compared to "traditional" ASP.NET. With features such as self-hosting, built-in dependency injection and a high level of testability, you can really focus on solving the domain problem at hand, rather than worrying too much over boilerplate and ceremony.

Each new release, both major and minor, brings something new to geek-out over, but ASP.NET Core 2.1 has been a particular stand-out so far for new features and benefits that I find really compelling as a software developer.

Read more...

Reliably Testing HTTP Integrations in a .NET Application

3 October 2017 by Martin Costello |
3 October 2017 by Martin Costello

Over the past few months I've been working on some new ASP.NET Core applications in my day job at Just Eat, and as part of that devised a new strategy for integration testing the applications with respect to their HTTP dependencies.

I've written a blog post about the problems I faced and how I went about solving them over on the Just Eat Tech Blog.

Read more...

Migrating to Amazon S3

28 August 2017 by Martin Costello |
28 August 2017 by Martin Costello

Since I set up my blog in March 2014, it's been running in IIS as part of an Azure App Service. Initially this was required as the blog was originally a WordPress site, so a server was required to run the PHP code for WordPress. However when I got fed up with keeping WordPress up-to-date and migrated to a static Middleman site, I left it hosted in Azure. This was mainly because it was the easiest option, as that's where it was already, but also because this allowed me to specify HTTP response headers still, such as for X-Frame-Options.

At the end of the day though, this blog is still statically generated, and running a whole web server (actually two, one in Azure's East US datacentre, another in UK South) is just overkill. Given that Amazon S3 supports static website hosting, I thought I'd migrate it to an S3 bucket instead.

Read more...

Publishing My First Alexa Skill

20 February 2017 by Martin Costello |
20 February 2017 by Martin Costello

A few weeks ago at work it was our quarterly Hackathon. After a dearth of ideas I thought of an idea to extend our Alexa app to incorporate something I've been working on in the office over the last few months. Over the course of a few days a colleague and I tweaked the skill and achieved our aim, which was pretty fun. Did I mention we also won the technical category?

Off the back of that success I thought I'd have a go at writing my own skill, which was finally accepted into the Alexa Skill Store on the 14th February after it's third round of certification tests. It's a fairly simple skill with just two "intents" that allows you to either ask about current disruption on any London tube line, the London Overground or the DLR, or for just a specific line. It's also 100% open-source, hosted on GitHub. The free AWS Lambda tier also makes it free to run (unless the skill becomes wildly popular...).

Now the dust has settled and I've got some free time, I thought I'd do a blog post about how I got started with Alexa and the idea for the skill, how I coded it and set up the Continuous Integration, how I got it through the certification tests and, finally, setting up monitoring for it in production.

Read more...

BrowserStack Automate API Client v2

18 October 2016 by Martin Costello |
18 October 2016 by Martin Costello

I've just released version 2.0.1 of the BrowserStack Automate .NET client open source project that I maintain on GitHub.

Read more...

Apple Pay JS

10 October 2016 by Martin Costello |
10 October 2016 by Martin Costello

I've been working on an integration of the new Apple Pay JS SDK over the last few months. If you'd like to read about it, check out my post over on the Just Eat Technology blog.

Read more...

This Blog Is Now Open Source!

30 November 2015 by Martin Costello |
30 November 2015 by Martin Costello

TL;DR - This blog is now hosted on GitHub.com!

Read more...