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

  • Things I’ve learnt about Wasps

    We take knowledge that we have for granted. This year wasps decided to make a nest next to the side door of my house. I noticed, waited till it was dark, applied wasp killer powder round the entrance to their nest and by the end of the next day they were gone.

    It was all sorted so quickly that I almost forgot about it, but I’m taking the time to appreciate how different this was from last year.

    Last year wasps also decided to make a nest near to the side door of my house. This nest was in a slightly different spot as wasps do not make a nest where an old one already exists. I ignored … 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

    No Comments
  • 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

    No Comments