Colin Bacon, web developer.

I am blog

These are the things I write about

Recent posts

Blazor authentication and authorisation - redirect to login

Blazor authentication and authorisation - redirect to login

Blazor uses ASP.NET Core authentication to allow you to control access to areas within your site. A common scenario is to redirect unauthenticated users to the login page.

Blazor preview 8 released, watch out for this breaking change

Blazor preview 8 released, watch out for this breaking change

With .NET Core 3.0 Preview 8 announced, there is one breaking change that did not seem to be mentioned.

Using Refit REST library with client-side Blazor

Using Refit REST library with client-side Blazor

Refit, a REST library for .NET, takes your API interfaces and dynamically generates a service using HttpClient to make the requests. This cuts out a lot of repetitive code and can be used with client-side Blazor. Here's how.

XAML Hot Reload for Xamarin.Forms - first impressions

XAML Hot Reload for Xamarin.Forms - first impressions

XAML Hot Reload was recently announced at the Xamarin Developer Summit. A package that reloads your Xamarin.Forms XAML on the device or simulator you are debugging.

Dealing with PHP encoding oddities when deserialising JSON

Dealing with PHP encoding oddities when deserialising JSON

I’ve recently been consuming APIs written in PHP and found an unexpected behaviour in the JSON returned.

Using SourceGear DiffMerge with TFS in Visual Studio and Git

Using SourceGear DiffMerge with TFS in Visual Studio and Git

This article shows you how to configure TFS and Git to use SourceGear DiffMerge.

HTTPS redirection not working after migrating to ASP.NET Core 2.1

HTTPS redirection not working after migrating to ASP.NET Core 2.1

Enforcing HTTPS is easy with ASP.NET Core 2.1, however if after migrating a project to 2.1 you find that it still does not work then this article will explain what to do.

How to use Sass in ASP.NET Core 2.0 MVC

How to use Sass in ASP.NET Core 2.0 MVC

In this post we are going to look at how to set up and compile Sass in ASP.NET Core 2.0 MVC.

How to serve static files in ASP.NET Core 2.0 MVC

How to serve static files in ASP.NET Core 2.0 MVC

The ability to serve static files in an MVC Core app is completely optional. This article shows you how to add and configure it should you need it.

Create a minimal ASP.NET Core 2.0 MVC web application

Create a minimal ASP.NET Core 2.0 MVC web application

This guide shows you how to set up a ASP.NET Core 2.0 MVC web application from an empty template.