Blog

image for Unable to resolve service for type ‘Microsoft… ..TypeMappingSource Dependencies’

Unable to resolve service for type ‘Microsoft… ..TypeMappingSource Dependencies’

At the time of this post, there seems to be a bug in Mysql.EntityFrameworkCore using EF 6.0. It’s being tracked on the MySQL bug tracker where I’ve also left a comment. But if you are getting the error quoted below, you’re probably hitting this bug. Unable to resolve service for type ‘Microsoft.EntityFrameworkCore.Storage. TypeMappingSourceDependencies’ while attempting

Read More…

image for Full-page screenshots with headless browsers and cookie accept banners

Full-page screenshots with headless browsers and cookie accept banners

If you work with headless browsers, you might have encountered this before. You load a page, and a cookie acceptance screen pops up and stops you from scrolling until you click accept. Sometimes they use overflow:hidden on the body element to stop the scrolling. In this scenario, a full-page screenshot will result in the content

Read More…

image for Add A Cognito PreSignUp Lambda Trigger via Amplify in NET Core

Add A Cognito PreSignUp Lambda Trigger via Amplify in NET Core

We are going to add a Cognito PreSignUp trigger to an existing Cognito Pool from Amplify with a .NET Lambda. Took me a while to figure that out too. You’ve got an AWS Cognito Identity Pool. You’re building an app and somewhere sits Amplify. You’re writing your Lambda’s in .NET Core. I’ve been doing it

Read More…

image for Headless Chrome: A few pointers to note

Headless Chrome: A few pointers to note

I’ve been helping a client scale their technology platform for a new area of the business and they have a need for headless Chrome. The workflow is simple, get some data, inspect that data, do some other things with it and save the results. We are using SQS as a part of this process, I’ve

Read More…

image for Google Search Console: What is ‘Largest Contentful Paint’ (LCP)

Google Search Console: What is ‘Largest Contentful Paint’ (LCP)

This article on ‘Largest Contentful Paint’ follows up on my previous post on Cumulative Layout Shift. Webpages take time to download. They may take a long time, or they may be quick. The quicker your web page loads, the better it’s going to perform. As technology has progressed and internet connections have become faster humans

Read More…

image for Amazon SQS and 5 tips to help you architect your platform

Amazon SQS and 5 tips to help you architect your platform

The current COVID pandemic is not causing any significant disruption to me, its business as usual, and I’ve been working on a project involving Amazon SQS so in this post I’m going to share some observations on it.  I have a process that generates some data based on some given parameters; the process inserts this into an

Read More…

image for Pushing a docker image to ECR and a little script to add autonomy to it.

Pushing a docker image to ECR and a little script to add autonomy to it.

I have a .NET Core program for a client which runs in a Docker container under their own AWS account via ECR (Elastic Container Registry). When a modification is required I go through the usual process and eventually push it to their ECR registry. The application isn’t apart of a continuous deployment or any automated

Read More…

NodeJS on Raspberry PI and Electron failure to chooch

Working on a Raspberry PI today and wanted to run Node on it. Easy. boom, done right? Wrong. Tried to install an npm package and this What to do instead? Run these commands, do go to and get the link to the latest version though from the node website. When that’s all good done, install

Read More…

image for Are you getting ‘Requested URL: /WebResource.axd – 404 NotFound’ response?

Are you getting ‘Requested URL: /WebResource.axd – 404 NotFound’ response?

I’m working on a website which is written in traditional ASP.NET, uses AjaxControlToolKit and all kinds of historic goodies. If we where in 2008, I’d be buying the original developers a beer. However, what you can’t rely on is what gets changed after. The project uses RegisterClientScriptResource in quite a few places, been a while since

Read More…