Development Notes

Solutions to problems encountered on projects, or useful dev-related notes

Azure Function gotchas

If using [FromBody] model binding, include using FromBodyAttribute = Microsoft.Azure.

Fixing the white on white cursor in Google Docs

From this post: https://issues.chromium.org/issues/40239916#comment98

Remove jobs from Hangfire

TRUNCATE TABLE [HangFire].[AggregatedCounter] TRUNCATE TABLE [HangFire].[Counter] TRUNCATE TABLE

Change Scratch files location in Rider and Webstorm

Help > Edit Custom Properties idea.scratch.path/scratches=G:

Fix SQL DECLARE variable use in DataGrip

In 2025.1.3 you can't execute this

Using MirageJS to fake a .NET API

By default Mirage sends models using a different style than

Killing a Vite port

Run npx kill-port 8080 etc

Fixing Chrome "Failed to read the cssRules" errors

At some point Chrome got picky about using <link&

Cleaning git after .gitignore changes

git rm -r --cached . git add . git commit -m "

Parsing numbers from strings in SQL

SELECT Id, PetCount, ISNULL(SUBSTRING(PetCount, PATINDEX('%[0-9]%'