Fixing failed port bindings – Junior Developer Handbook
Sometimes your application won’t start because it tries to bind to a port that’s already in use. IIS Express for example shows you this error notification: Fix 1 – Find the application using the port Open an administrative PowerShell and issue this command This will either show you an error if no application is using…
Hangfire background tasks for .NET – Part 5: Adding Hangfire to an ASP.NET Core Application
For this part of the Hangfire series, I hacked together an application with the help of GitHub Copilot that allows users to compose a message for different cultures and send them to E-Mail addresses. As the focus is on the Hangfire part, most of the code does not follow best practices: there is no view…
Hangfire background tasks for .NET – Part 4: Hangfire Dashboard
Time to improve our monitoring and management of background jobs with Hangfire Dashboard.
Doing SSH right (on Windows)
Windows now ships with OpenSSH, making life easier for all of us. Generating an SSH Keypair I generate my SSH keys with the following considerations in mind: You now have a private key file and a public key file (.pub). The private key file never leaves your computer. The permissions for the public key are…
Hangfire background tasks for .NET – Part 3: Hangfire server
Creating a Hangfire server application to process the jobs we created with Hangfire client.
Hangfire background tasks for .NET – Part 2: Using the client
This post is about how to use the client api to create jobs for Hangfire to process in the background. It also describes the initial project set-up and configuration.
Powershell Cheatsheet
This is a work-in-progress post. It’s never really finished! Every Cmdlet has this structure: Verb–Noun. Always prefer single quotes over double quotes for strings that do not contain variables to be expanded. The help system First, you need to download the help files to your machine using Update-Help because otherwise the output of Get-Help is…
Cross-Site-Request-Forgery mitigation techniques
Learn how CSRF attacks work and how to stop them. Also covers which requests are considered to be same-site and same-origin.




