Code, Cloud, & Startup CTO Insights
Architecture decisions, delivery lessons, and practical software leadership from real projects.
A Completely Free .NET SaaS Template: Introducing the LibreSharp SaaS Starter
Every SaaS app starts with months of work that has nothing to do with the product. Sign-up and login, email confirmation, password resets, organisations and invitations, plans and trials, Stripe webhooks, an admin back office, background jobs. None of it is what...
Why I Built LibreSharp: Keeping .NET Open as Its Packages Go Commercial
If you’ve built anything in .NET in the last ten years, you’ve almost certainly used AutoMapper, MediatR, FluentAssertions or MassTransit. They were so standard that people added them to new projects on autopilot. As of 2026, all four are commercial. I’m not...
Designing Without Figma: Making Claude Code a Better Designer
Ask Claude Code to “build a landing page” with nothing else to go on and you’ll get the landing page everyone has seen a hundred times. Centred hero, a gradient, three feature cards, and a pile of raw Tailwind divs. It works....
Choosing Your JavaScript Package Manager in 2026: npm vs. Yarn vs. pnpm vs. Bun vs. Lerna
Every JavaScript or TypeScript project starts with the same small question: npm install, yarn, pnpm install or bun install? It seems trivial until you’re six months into a monorepo with a huge node_modules folder, a CI pipeline that spends twelve minutes installing...
Instructions vs. Skills vs. Agents: Knowing the Difference Will Save You Tokens
I keep running into the same setup when I look at how people configure their coding assistants: one giant instructions file with everything crammed into it. Coding standards, one-off workflows, edge-case rules that only apply once a month, all loaded into context...
Choosing Your .NET API Strategy in 2026: MediatR vs. ServiceStack vs. WolverineFX
Building a .NET web API in 2026 involves more than choosing between controllers and Minimal APIs. You also have to decide how requests flow through to your business logic. Three approaches come up again and again: MediatR with CQRS, ServiceStack, and WolverineFX....
Lazy Loading and Caching HTTP Requests in Angular with BehaviorSubject
Angular services often fetch data that doesn’t change much, such as settings or lookup tables. You don’t want to call the API when the app starts if nobody needs the data yet, and you don’t want to call it again every time...
Engineering Guilds: What They Are and How to Start One
Most engineering organisations are arranged around delivery: teams own products or projects, and their week is planned around shipping features. That works for delivery, but it leaves little room for engineers in different teams to learn from each other or agree on...
Seven Common Forms of Technical Debt
Technical debt is easy to describe in the abstract. It’s more useful to recognise it in a codebase. These are some of the most common forms, with what causes them and what they cost. 1. The Legacy System A system that has...
What Technical Debt Is, and How to Pay It Down
Technical debt is the extra work you create later by choosing a quicker or easier solution now. Like financial debt, it isn’t always a mistake. Borrowing can be the right call, as long as you know you’re doing it and plan to...
What to Look For in a Code Review
Code reviews catch bugs, but that’s not their only job. They spread knowledge of the codebase across the team, keep the style consistent, and are one of the main ways developers learn from each other. This is a general checklist. There are...
A React Code Review Checklist
I put this checklist together for my own use when reviewing React frontends. Some items are firm rules, such as the size limits and no console.log, and the rest are questions worth asking on every pull request. It sits alongside my general...
2024 Tech Salary Guides
Here is a list of Australia Tech Salary Guides for 2024. Scouut’s Half Year 2024 Software Salary Guide! (For Start-Ups & Scale-Ups) Page Insights Salary Guide 2024 HAYS SALARY GUIDE FY24/25 Robert Half 2024 Australia Salary Guide Robert Walters 2024 salary guide...
An Angular Code Review Checklist
This checklist is for reviewing Angular code. It’s a list of questions rather than rules, and not every item applies to every pull request. For the general, framework-independent points, see my code review checklist. 1. Components Does each component have a single...
Understanding Linear Regression in C#: A Hands-On Implementation
Linear regression is one of the foundational algorithms in statistics and machine learning. It’s used to discover relationships between variables and to make predictions. If you’re exploring machine learning concepts or need a way to analyze trends in your C# applications, understanding...
The Ultimate Guide to Governance Frameworks
If you are new to leading tech teams, you may have heard about governance but were unsure what it is or how it applies to IT or building software. Put simply, governance gives your team structure, guidelines, and ways to measure success....
The FAIR Advantage: Data-Driven Decisions for Risk Management.
Imagine a data breach exposing millions of customer records. Traditional risk assessments, often reliant on subjective scales, struggle to communicate the true impact of such an event. Here’s where the Factor Analysis of Information Risk (FAIR) framework steps in. FAIR provides a...
Data Governance: What It Covers and Where to Start
Data governance is the set of rules and responsibilities that decide how an organisation’s data is collected, stored, used and eventually deleted. It answers questions like: who owns this table, who’s allowed to see it, how do we know it’s correct, and...
How to use square brackets '[]' in a string in a SQL query
In SQL, square brackets play a significant role in various scenarios, including escaping table and column names. However, due to their special meaning, SQL Server doesn’t interpret them as usual when they appear within a string. This article aims to shed light...
The trade off between Sensitivity and Specificity
When evaluating a model for a binary dependent variable, for instance logistic regression there is always going to be a trade off between Sensitivity and Specificity. Sensitivity is the proportion of true positives identified, that is the proportion of data correctly identified...
Creating Azure SQL logins & users that easily replicate to all databases.
Creating Azure SQL logins and database users is fairly simple. First create the login on the server: CREATE LOGIN login_name WITH PASSWORD = 'strong_password'; Then create the user on the database and assign permissions CREATE USER 'user_name' FOR LOGIN 'login_name'; EXEC sp_addrolemember...
How to remove x-powered-by header in .net core
Any asp dotnet developer who has had to pass security or OWASP top 10 audits knows that probably the most annoying thing about dotnet is that IIS, and now Azure app service, is the custom headers which give away what server and...
Generating Typescript Enums correctly with NSwag from Swagger docs created with Swashbuckle.
We have been generating typescript classes and data clients for our angular application with NSwag by by pointing it at our AspNetCore api swagger documentation which was generated using swashbuckle. When generating typescript enums this caused a problem that the enum option...
Restarting all the Azure App Services in a resource group using PowerShell.
Often I will need to restart the Azure App Services that I use for development and testing. Using the portal web interface can be tedious. A much easier was is to use powershell or the shell to loop through all the App...
Debugging a couple of AspNetCore websites and your machine gets slow?
I am developing an asp.net core application comprised of 4 microservices. Every day at about 3pm my machine gets a little slow. I thought it may be antivirus or something but checked and nothing was running. looking in task manager I could...
Export git log history to a text file
We had a requirement to export our git log for accounting purposes. Who knew it was super easy. git log -p --all > git_log.txt but then we struck an error warning: inexact rename detection was skipped due to too many files. warning:...
Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.
Today we noticed something strange happen with our dotnet core web apps. They started to throw an error when we ran them on the commandline with dotnet run: System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default...