The digital home of Richard Garside

This is my digital home, a resting place for my personal and client projects. I'm a web developer based in Leeds. I specialise in .NET MVC and apps for Windows 8 and Mac. You can find out more about me here.

Recent stuff from my blog

  • Nogginbox is back

    This website has been down for a few weeks since my old web host lost my virtual machine in a RAID disaster. If my business depended on this website I would have spent more time and money on my backup strategy. And although this is not a business critical site, it is still one close to my heart and the pain and time taken to get this site back up has been more than I anticipated.

    This site was hosted on a cheap VM with UK Webhosting. I was not paying for the optional extra of backups. But I was regularly backing up the database and saving it on the server. I made the assumption (NEVER MAKE … more

  • Installing a free SSL Cert on your IIS .NET Core Mvc website

    SSL certs are getting more and more important on the web as we want to make sure that our websites are safe and trustworthy. I’ve put off installing them on my own personal web site projects because of the cost and the work involved in keeping them up to date.

    Let’s Encrypt is an open Certificate Authority that is trusted and issues free 3 month certificates. They have an API that lets you automate getting these certificates and there are several tools for Linux and Windows that use this API to save you the work of installing and keeping your certs up to date.

    I used the … more

  • Forms Authentication in .NET Core (AKA Cookie Authentication)

    In .NET Core MVC you're encourages to use .NET Identity, but you don't have to. You can manage your own user identities and you use forms authentication which is now called Cookie Authentication (which is a better name really).

    You need to install the Microsoft.AspNetCore.Authentication.Cookies nuget package.

    There is some configuration that needs to go in startup.cs:

    public void ConfigureServices(IServiceCollection services)

    {

    services

    .AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)

    .AddCookie(options => {

    options. … more