Recent Posts

TIS-100, part 2

Let's continue our TIS-100 adventure, and see if we can make it out of tutorial land today. Segment 30647: sequence generator This is the first puzzle that hints at how painful it is to compare two numbers with the TIS-100, which is something we will unfortunately be doing a lot in the future. As for right now, we can get away with this clunky solution. The node reading A acts as a cache for that ... read full post

TIS-100, part 1

Once upon a time, I played a game called SHENZHEN I/O. I wrote some blog posts about it (1, 2, 3, 4), but stopped after a while. This wasn't due to me getting bored with the game. On the contrary. I was writing my posts as I went, but the game was so much fun that I didn't want to take breaks in between puzzles in order to write about them for my blog. I have in fact long ... read full post

Azure Essentials: getting started with Search Services with SQL Server and ASP.NET MVC Core

In this post about the very basics of Microsoft Azure, I'll show how to provision and use Azure's search-as-a-service offering to index and search contents from an Azure SQL Server database. I'll also show how to talk to the search service from an ASP.NET MVC Core application. I'm assuming you've already got the database for this, as well as an existing MVC app. Creating a Search Service First order of business will be provisioning the Search ... read full post

Azure Essentials: getting started with Cosmos DB

In this post about the very basics of Microsoft Azure, I'll show how to use Cosmos DB to store unstructured documents in the cloud. I'll also show how to talk to this database from an MVC Core 2 application. I'm assuming you've already got an MVC app to work with. Creating a Cosmos DB First things first: let's create a Cosmos DB. Open the Cosmos DB service: ... read full post

Azure Essentials: getting started with Table Storage

In this post about the very basics of Microsoft Azure, I'll show how to get started with Table Storage. The Table Storage is a key/value store for non-relational structured data. It offers especially high performance on inserts, and is a good option to use for logging. We'll use the Storage Account from our previous post, so we won't have to deal with setting one of those up again. Writing to Table Storage The first ... read full post

Azure Essentials: getting started with Blob Storage

In this post about the very basics of Microsoft Azure, I'll show how to upload and download files from a Blob Storage account using an ASP.NET MVC Core 2 application. I assume you have an existing MVC application to use. Creating a Storage Account The first thing we'll need, not just for Blob Storage, but for all sorts of storage-related things in Azure, is a Storage Account. To create one, go to the Storage Account service: ... read full post

Azure Essentials: AAD authentication on ASP.NET Core 2 MVC

In this post about the very basics of Microsoft Azure, I'll show how to implement Azure Active Directory (AAD) authentication in an ASP.NET Core 2 MVC application. I assume you've got an existing AAD and MVC application for this, which we'll tie together in this post. Creating an App registration The first thing we'll need is an App registration in our Azure AD. To create one, head over to the App registration service: ... read full post

Azure Essentials: publishing an ASP.NET Core 2 MVC application

In this post about the very basics of Microsoft Azure, I'll show how to publish an ASP.NET Core 2 MVC application to the cloud. We'll be using Visual Studio for this. Creating an App Service plan The first thing we'll need is an App Service plan. This is essentially the hosting plan for your web applications. It determines the capabilities of the underlying hardware your applications will be running on, as well as the region where everything will be ... read full post

Azure Essentials: getting started with SQL Server

In this post about the very basics of Microsoft Azure, I'll show how to provision and use an SQL Server and database in the cloud. Which is just like a regular SQL Server, except it's in the cloud. I'll assume you've already got an Azure account and an appropriate subscription to work with. Creating an SQL Server The first step involves creating the SQL Server that your database will be running on. To get started, open the SQL ... read full post

Phones I've owned

To belatedly mourn the death of Windows Phone (I needed time, okay?), as well as to celebrate me finally joining the Android Master Race, I've decided to look back at the various phones that I've owned throughout the years. 2001/2002 — 2003: Nokia 3310 My very first phone was the all-time classic Nokia 3310. I think I got it around 2002, maybe 2001. I loved this phone. ... read full post