knowledge-hub

Knowledge Hub (33)

Writing about software engineering, systems design, developer tools, and the occasional rant.

Cloud
Azure Linux: Microsoft's Own Cloud-Optimized Distribution
03 Jul 2026 Azure Linux: Microsoft's Own Cloud-Optimized Distribution
Azure Linux is Microsoft's open-source, security-hardened Linux distribution built for Azure and AKS. Here's what it is, where it came from, and how to try it.
5 min
Scaffold a RAG Chat App with the .NET AI Templates
03 Jul 2026 Scaffold a RAG Chat App with the .NET AI Templates
One dotnet new command gives you a Blazor chat-with-your-data app — vector search, document ingestion, citations, and Azure OpenAI wired up on keyless auth.
6 min
Build an AI Chat App with .NET and OpenAI
02 Jul 2026 Build an AI Chat App with .NET and OpenAI
A .NET console chat app in one Program.cs file — using Microsoft.Extensions.AI so the OpenAI model behind it is a swappable detail, not a lock-in.
5 min
Chat History Storage Patterns in Microsoft Agent Framework
02 Jul 2026 Chat History Storage Patterns in Microsoft Agent Framework
Where does the conversation history live? That one decision shapes your agent's cost, privacy, portability, and UX. Here's how service-managed and client-managed storage differ — and how Microsoft Agent Framework abstracts both behind one programming model.
9 min
A React + ASP.NET Core App, Orchestrated by Aspire
27 Jun 2026 A React + ASP.NET Core App, Orchestrated by Aspire
Build a full-stack TODO app — ASP.NET Core API, SQLite, and a Vite React front-end — all wired together and run with a single F5 by .NET Aspire. Step by step, from empty folder to running app.
9 min
Local AI Models in .NET, Wired Up by Aspire
27 Jun 2026 Local AI Models in .NET, Wired Up by Aspire
Run a model on your own machine during development, swap to Azure OpenAI in production — same code. Here's how Aspire and Ollama make local AI a registration detail, not a rewrite.
5 min
.NET AI Essentials: The Core Building Blocks, Explained
24 Jun 2026 .NET AI Essentials: The Core Building Blocks, Explained
Four libraries cover almost everything you'll do with AI in .NET. Here's how Microsoft.Extensions.AI, VectorData, the Agent Framework, and MCP fit together — without juggling vendor SDKs.
5 min
Doing More with GitHub Copilot as a .NET Developer
24 Jun 2026 Doing More with GitHub Copilot as a .NET Developer
Stop memorising Copilot features and start with a real task from your backlog. Here's how I split work between chat and agentic flows across Visual Studio, VS Code, the CLI, and the cloud agent.
6 min
Caveman: The One-Line Install That Cuts AI Token Usage by 65%
23 Jun 2026 Caveman: The One-Line Install That Cuts AI Token Usage by 65%
AI agents waste tokens on filler words you never read. Caveman is a Claude Code skill that rewires how your agent speaks — same technical depth, 65% fewer output tokens, works in Claude Code and GitHub Copilot.
6 min
Plan Mode: The AI Habit That Cut My Bug Count in Half
12 Jun 2026 Plan Mode: The AI Habit That Cut My Bug Count in Half
Before I let any AI agent touch my codebase, I make it show me a plan. Here's how that one habit changed my workflow — and why the benefits go far deeper than 'fewer bugs'.
6 min
Deploying CrewAI Workflows to Production
09 Jun 2026 Deploying CrewAI Workflows to Production
Move your CrewAI projects from local scripts to reliable services. Learn deployment architectures, observability patterns, and operational guardrails for production workloads.
10 min
Performance Optimization and Token Management in CrewAI
04 Jun 2026 Performance Optimization and Token Management in CrewAI
Cut costs and latency in multi-agent workflows. Learn token budgeting, parallel task execution, caching strategies, and model tiering to make your CrewAI crews production-ready.
11 min
Debugging Multi-Agent CrewAI Workflows
24 May 2026 Debugging Multi-Agent CrewAI Workflows
Trace what your agents actually did and why. Master CrewAI callbacks, event listeners, usage metrics, and log capture to diagnose failures before they reach production.
12 min
Memory and State Management in CrewAI
21 May 2026 Memory and State Management in CrewAI
Give agents memory across runs. Master short-term context, long-term persistence, and state isolation to build workflows that learn and adapt.
11 min
Building Custom Tools for CrewAI Agents
19 May 2026 Building Custom Tools for CrewAI Agents
Master tool design for CrewAI. Build custom tools, integrate APIs, compose tools, and optimize performance for production agents.
10 min
Getting Started with CrewAI
18 May 2026 Getting Started with CrewAI
Build multi-agent systems with CrewAI. Learn core concepts, structure autonomous teams, and avoid common orchestration pitfalls.
8 min
Claude Code Memory: CLAUDE.md and Persistent Context
07 May 2026 Claude Code Memory: CLAUDE.md and Persistent Context
Claude Code stores context in CLAUDE.md files and an auto-memory system. Here's the mental model and practical patterns for keeping it clean and useful across sessions.
5 min
Extending Claude Code with MCP Servers
06 May 2026 Extending Claude Code with MCP Servers
MCP servers plug external tools into Claude Code — query your database, search Notion, browse Linear, control a browser. Here's how to add and configure them.
5 min
Claude Code Subagents: Specialized AI Workers for Complex Tasks
05 May 2026 Claude Code Subagents: Specialized AI Workers for Complex Tasks
Claude Code subagents are independent AI workers for scoped tasks like search, planning, and security review. Here's when to use them and how to author your own.
5 min
Claude Code Hooks: Event-Driven Automation in Your Agent
04 May 2026 Claude Code Hooks: Event-Driven Automation in Your Agent
Hooks in Claude Code fire shell commands at lifecycle events — before tool runs, after edits, on session start. The escape hatch for linting, formatting, and gating risky actions.
5 min
Claude Code Keyboard Shortcuts: Move Faster in the Terminal
03 May 2026 Claude Code Keyboard Shortcuts: Move Faster in the Terminal
Claude Code is keyboard-first — the built-in shortcuts let you interrupt agents, paste multi-line prompts, scroll diffs, and switch modes. Full cheat sheet.
3 min
Claude Code Slash Commands: The Complete Reference
02 May 2026 Claude Code Slash Commands: The Complete Reference
Slash commands are Claude Code's direct control surface for session state, memory management, and custom workflows. Full built-in reference plus how to author your own.
5 min
Getting Started with Claude Code: Anthropic's Agentic CLI
01 May 2026 Getting Started with Claude Code: Anthropic's Agentic CLI
Claude Code is Anthropic's agentic CLI that reads your repo, edits files, and runs tests from the terminal. This guide covers installation, setup, and your first session.
5 min
Oh My Posh: Supercharge Your Terminal Prompt
14 Apr 2026 Oh My Posh: Supercharge Your Terminal Prompt
Oh My Posh is a cross-platform prompt engine that shows Git status, active language versions, and command timing in your terminal. Here's how to set it up.
7 min
Winget: The Windows Package Manager You Should Be Using
13 Apr 2026 Winget: The Windows Package Manager You Should Be Using
Winget is Microsoft's built-in Windows package manager — install, update, and manage thousands of apps from the terminal with a single command. Here's how.
6 min
Zed: The Code Editor Built for Speed and Collaboration
13 Apr 2026 Zed: The Code Editor Built for Speed and Collaboration
Zed is a GPU-rendered code editor built in Rust by the Atom creators — millisecond startup, real-time collaboration, and built-in AI out of the box. Here's my take.
6 min
GitHub Copilot CLI: Your Terminal-Native AI Assistant
03 Apr 2026 GitHub Copilot CLI: Your Terminal-Native AI Assistant
GitHub Copilot CLI brings agentic AI directly to your terminal — write code, run tests, and fix errors without context-switching. Here's how to set it up.
3 min
Hugo & Markdown: The Art of Writing the Web
30 Mar 2026 Hugo & Markdown: The Art of Writing the Web
Hugo and Markdown are the quiet backbone of modern developer publishing — plain text in, blazing-fast static site out. Here's why this pairing works so well.
3 min
Hugo: The World's Fastest Static Site Generator
27 Mar 2026 Hugo: The World's Fastest Static Site Generator
Hugo is the fastest static site generator available — no database, no runtime, just Markdown files compiled to blazing-fast HTML in milliseconds. Here's how it works.
3 min
Windows Terminal: The Modern Command Line for Developers
01 Mar 2026 Windows Terminal: The Modern Command Line for Developers
Windows Terminal finally gives Windows developers a first-class command line — tabs, panes, GPU rendering, and WSL integration all in one place. Here's how to get the most out of it.
4 min
How Dev Containers Rescued My Project from Production Failure
01 Sep 2025 How Dev Containers Rescued My Project from Production Failure
My Python pipeline worked on Windows but crashed on Linux in production. Dev Containers fixed the environment mismatch — here's how I set them up.
3 min
Serilog and Seq in ASP.NET Core Web API (.NET 8)
31 Aug 2025 Serilog and Seq in ASP.NET Core Web API (.NET 8)
Struggling with messy console logs locally? I set up Serilog and Seq in my .NET 8 Web API for structured, searchable logs — here's the complete walkthrough.
7 min
Prompt Engineering: Get Better Results from AI
24 Aug 2025 Prompt Engineering: Get Better Results from AI
Your AI outputs are only as good as your inputs. Here's how I use prompt engineering techniques to get consistently strong results from ChatGPT, Copilot, and image generators.
4 min
graph cloud