Your cart is currently empty!
Author: jcianci12
-
Git Revert Cheat Sheet
Basic Revert Operations Single Commit Revert Multiple Commit Reverts Working with Staged Reverts Review and Modify Managing Reverts Backup Strategies Create Safety Branch Cherry-pick Changes Back Tips
-
Seeding SQL Server LocalDB v11: A Developer’s Guide
A practical guide to working with SQL Server LocalDB v11, creating databases with Entity Framework, and running seed scripts using PowerShell Introduction SQL Server LocalDB is a lightweight version of SQL Server Express designed for developers. While newer versions are available, many legacy projects still use LocalDB v11. This guide walks through the complete process…
-
Enabling Detailed Entity Framework Error Logging for Better Debugging
The Problem When working with Entity Framework Core, SQL exceptions can be frustratingly opaque. You might see generic error messages like: Or the particularly cryptic: But these don’t tell you: The Solution Enable detailed error logging in your Entity Framework configuration to get much more informative error messages. Implementation 1. Configure Detailed Errors in DbContext…
-
⚠️ Warning to eBay Plus Members: Don’t Get Caught Out by This Easy Mistake
As a long-time eBay user and eBay Plus member, I thought I was protected when it came to change-of-mind returns—after all, that’s one of the biggest perks of the subscription, right? Recently, I bought an iPad through eBay and soon realised it was the wrong model for my needs. Thinking I had 30 days to…
-
ASP.NET MVC to .NET Core MVC Migration Cheat Sheet
Partial Views ASP.NET MVC (Legacy) .NET Core MVC HTML Helpers vs Tag Helpers ASP.NET MVC (Legacy) .NET Core MVC Configuration ASP.NET MVC (Legacy – Web.config) .NET Core MVC (appsettings.json) Dependency Injection ASP.NET MVC (Legacy) .NET Core MVC Action Filters ASP.NET MVC (Legacy) .NET Core MVC Routing ASP.NET MVC (Legacy) .NET Core MVC View Components (Replacement…
-
Server Load and Docker Resource Monitoring Guide
Monitoring your server’s resource usage is crucial for maintaining optimal performance and identifying potential bottlenecks. This guide covers various methods to monitor CPU, RAM, disk usage, and specifically how to monitor Docker containers. Table of Contents Quick Docker Monitoring Real-time Container Stats The fastest way to check Docker resource usage is with the built-in docker stats command:…
-
How to Expand Ubuntu Disk After Hyper-V Virtual Disk Expansion
When you expand a Hyper-V virtual disk, Ubuntu doesn’t automatically use the new space. Here’s how to make Ubuntu recognize and use the additional storage. Quick Overview After expanding your Hyper-V virtual disk, you need to: Step-by-Step Process 1. Check Current Status 2. Extend the Partition 3. Resize LVM Components 4. Verify Success What Each…
-
Hot NVMe Migration: Zero-Downtime Upgrade from 500GB to 1TB on Windows Server 2019
Introduction As server storage demands continue to grow, upgrading your NVMe drives becomes an inevitable necessity. But what if you could perform this critical upgrade without taking your server offline? Recently, I successfully executed a hot migration of my Windows Server 2019 installation from a 500GB NVMe drive to a spacious 1TB NVMe while the system remained…
-
Fixing Authentik Email Confirmation OIDC Flow
The Problem When using Authentik’s default enrollment flow with email confirmation, users who complete email verification are not properly authenticated with your OIDC application. Instead, they get redirected to Authentik’s login page and must enter their credentials again, even though they just completed registration. Symptoms Why This Happens The default Authentik enrollment flow is designed…
-
PostgreSQL Database Upgrade Guide for Docker Environments
A comprehensive guide for safely upgrading PostgreSQL databases in containerized environments Overview This guide covers the essential principles and steps for upgrading PostgreSQL databases in Docker environments. The methodology applies to various scenarios including: Core Principles 1. Always Backup First 2. Stop Services Gracefully 3. Upgrade in Isolation 4. Test and Verify Step-by-Step Process Step 1: Pre-Upgrade Assessment Step…