Everything on coder000
364 posts, 15 series and 15 free tools, all on one page. The three learning paths come first, every series in reading order, then Fixes and the tools. Looking for one word? Search is quicker.
New this month
- The Ollama API with curl and from .NET: generate, chat, embed, the OpenAI-Compatible /v1 Endpoint and the Errors It Returns
- Where Ollama Stores Models and How to Move Them to Another Drive with OLLAMA_MODELS (Windows and Linux)
- Is Ollama Using My GPU? ollama ps, the Server Log, nvidia-smi and Why It Falls Back to the CPU
- SQL Server: 'Transaction was deadlocked on lock resources ... chosen as the deadlock victim' (error 1205)
- SQL Server: 'Cannot drop database because it is currently in use' (error 3702)
- SQL Server: 'Conversion failed when converting date and/or time from character string' (error 241)
- SQL Server: 'The INSERT statement conflicted with the FOREIGN KEY constraint' (error 547)
- SQL Server: 'Violation of PRIMARY KEY constraint. Cannot insert duplicate key' (error 2627)
Learn the stack
Set Up a Windows PC for .NET Development
- 01.NET SDKs, Runtimes and global.json: Which One Builds, Which One Runs
- 02WSL for .NET Work: A Distribution, the SDK, the File System and the Ports
- 03Ports and the Firewall on a Windows Dev PC: Reserved Ranges, localhost and the Security Alert
- 04Databases on a Dev PC: LocalDB, Express and PostgreSQL in Docker
- 05Git for Windows Settings That Stop the Warnings
- 06HTTPS on localhost: The Developer Certificate on Windows, in WSL and in a Container
Docker for .NET Developers on Windows
- 01What Docker Desktop Actually Runs on Windows
- 02Containers: Run, Look Inside, Stop, Remove
- 03Files In and Out: Bind Mounts and Volumes on Windows
- 04Ports and Networking: Who Binds What, Where
- 05PostgreSQL in a Container for a .NET App
- 06Compose: The App and Its Database from One File
- 07Building the .NET Image: Dockerfile or dotnet publish
- 08The Daily Loop and the Clean-Up: Disk, Restart Policies, Health, Events and a Pre-Push Check
Git & GitHub: Zero to Advanced
- 01Why Version Control Exists: A Short History of Git
- 02Your First Repository: init, add, commit
- 03Reading History and Undoing Small Mistakes
- 04Branches: Parallel Universes for Your Code
- 05Merging and Conflicts, Without Fear
- 06GitHub: Your Code in the Cloud
- 07Pull Requests and Code Review, Together
- 08Rewriting History (Carefully): Rebase, Cherry-Pick and Stash
- 09The Rescue Kit: Reflog, Reset, Revert and Bisect
- 10Under the Hood: How Git Thinks — and Where to Go Next
Blazor: Beginner to Intermediate
- 01Hello, Blazor: Set Up and Build Your First App
- 02Anatomy of a Blazor Project: Every File Explained
- 03Blazor Components: Build Once, Use Everywhere
- 04Data Binding and Events: Making Pages Interactive
- 05Rendering Lists and Conditionals in Blazor
- 06Component Communication: Parameters Down, Events Up
- 07Blazor Forms and Validation, the Friendly Way
- 08Routing and Navigation: Pages, URLs and Parameters
- 09Services and Dependency Injection in Blazor
- 10The Component Lifecycle: What Runs When (and Why)
- 11Calling Web APIs from Blazor with HttpClient
- 12Blazor Render Modes: SSR, Server, WebAssembly — and What's Next
SQL Server → PostgreSQL
- 01SQL Server to PostgreSQL: Why Switch, and What to Expect
- 02Instances, Databases, Schemas and Roles: Remapping Your Mental Model
- 03Data Types: The SQL Server → PostgreSQL Translation Table
- 04The T-SQL → PostgreSQL Phrasebook
- 05Stored Procedures, Functions and Triggers in PL/pgSQL
- 06Indexes, MVCC and Performance: Unlearning the Clustered Index
- 07Backup and Restore in PostgreSQL, for SQL Server DBAs
- 08PostgreSQL with .NET and EF Core — and Your Migration Plan
Conversation to System Design
- 01Simple Conversation to System Design — Introduction
- 02Chat with a Doctor to Gather Requirements
- 03Finding Entities from Conversation
- 04Deciding Attributes for Entities
- 05Finding Relationships Between Entities
- 06Creating Relationships Using Foreign Keys and Junction Tables
- 07Simple Conversation to System Design — Conclusion
Database Design for Developers
- 01From ER Diagram to CREATE TABLE: Turning Entities into Real Tables
- 02Primary Keys: Identity, GUID or Natural Key?
- 03One-to-Many Relationships: Foreign Keys and ON DELETE
- 04Many-to-Many Relationships: Junction Tables Done Properly
- 05Choosing Column Types: Strings, Money, Dates, Booleans and Status
- 06Constraints: Where Business Rules Belong
- 07Normalization With a Real Example: From Spreadsheet to 3NF
- 08Naming Conventions: Singular or Plural, snake_case or PascalCase
- 09Indexes Explained With Query Plans: Which Columns to Index
- 10Soft Delete, Audit Columns and History Tables
- 11Schema Migrations: Add, Rename and Backfill Without Downtime
- 12Search, Reporting Views and the Finished Clinic Schema
Student Projects: From Conversation to Database
- 01Library Management System Database Design: ER Diagram, Tables and SQL
- 02School Management System Database Design: ER Diagram, Tables and SQL
- 03Attendance Management System Database Design: ER Diagram, Tables and SQL
- 04Hostel Management System Database Design: ER Diagram, Tables and SQL
- 05Hospital Management System Database Design: ER Diagram, Tables and SQL
- 06Inventory Management System Database Design: ER Diagram, Tables and SQL
- 07Hotel Management System Database Design: ER Diagram, Tables and SQL
- 08Railway Reservation System Database Design: ER Diagram, Tables and SQL
- 09Online Shopping System Database Design: ER Diagram, Tables and SQL
Web & APIs
- C# to TypeScript: How Classes, Records and Enums Become Interfaces, Tested with System.Text.Json and tsc
- ASPNETCORE_URLS, --urls, launchSettings, Kestrel Endpoints and UseUrls: Which Port Your ASP.NET Core App Listens On, Tested
- What Happens When You Type a URL and Press Enter?
- REST APIs Explained with a Pizza Shop
- REST vs GraphQL vs gRPC: Choosing an API Style
- JSON Explained: The Language APIs Speak
- What Is WebAssembly? Near-Native Speed in Your Browser
C# & .NET
- Install a Specific .NET SDK Version on Windows: winget, the Installer File, and dotnet-install
- Blazor Server vs WebAssembly vs Hybrid: Which One, and When
- .NET MAUI vs Flutter vs React Native for a .NET Team: An Honest Comparison
- Why C# Is a Great First Language
- What Is Blazor? Full-Stack Web Apps in C#
- async/await Explained with a Coffee Shop
- LINQ: Query Your Collections Like a Pro
Databases & Data
- The dotnet ef Commands, Run and Explained: migrations, database and dbcontext
- PostgreSQL 16 vs 18 for .NET Developers: Run Side by Side
- PostgreSQL vs SQL Server for .NET Developers: The Real Differences
- SQL vs NoSQL: Which Database Should You Learn First?
- What Is a Vector Database? (And Why AI Needs One)
- Database Indexes: Why Your Queries Are Slow
Developer Craft
Build with AI
From Prompt to Production
- 01AI-Assisted Development in 2026: Tools, Models and Honest Expectations
- 02Set Up Claude Code for .NET Like You Mean It
- 03From Conversation to Spec: Make the AI Interview You
- 04Spec to Schema: Designing PostgreSQL Tables with AI
- 05Scaffold to Skeleton: Blazor Server, EF Core and Npgsql
- 06CRUD with an AI Pair: The Booking Flow
- 07Going Real-Time: SignalR and the Live Queue Board
- 08Chat, Presence and the 401 That Explains Blazor Server
- 09Testing AI-Written Code Without Fooling Yourself
- 10Debugging with AI: Two Real Bugs, Start to Finish
- 11The Hardening Pass: AI as a Hostile Reviewer
- 12Ship It: A VPS, nginx, systemd — and the Headers SignalR Needs
- 13Power Moves: Agents, Skills, MCP — and Knowing When to Say No
- 14The Retro: What ClinicLive Really Cost, and What the AI Got Wrong
From Prompt to Polish
- 01AI UI Design Without the Slop: Four Directions and a Choice
- 02Foundations: Design Tokens, Dark Mode — and Killing Bootstrap
- 03The Screenshot Loop: Letting the AI See Its Own Work
- 04Phone UX: The Booking Flow and the Ticket
- 05Touch UX: A Kiosk for Strangers
- 06Signage UX: The Board Is Not a Web Page
- 07Pro-Tool UX: Density with Dignity
- 08The Accessibility Pass: Announce, Don't Just Paint
- 09Micro-Interactions: Motion That Explains Change
- 10The Polish Retro: What a Redesign Really Costs
From Prompt to Pocket
- 01From Prompt to Pocket: One App for Phone, Desk and Browser
- 02One UI, Three Hosts: The Capability-Interface Pattern
- 03The App Needs a Door: A Thin API Over the Clinic
- 04Live Queue in Your Pocket: SignalR, App Lifecycle and a Reconnect That Never Gives Up
- 05Buzz When You're Next: Haptics and Notifications, Permission in Context
- 06Push, for Real: Firebase Cloud Messaging to a Closed App
- 07Find the Clinic: Geolocation, a Testable Haversine and One-Tap Directions
- 08Scan to Check In: A QR on the Ticket, a Native Scanner Over the WebView
- 09Offline and Settings: Remember the Visit, Survive a Dead Signal
- 10Same App, on the Desk: Windows, One Breakpoint and a Waiting-Room Page
- 11Ship It: Signed Android, Self-Contained Windows, CI for Both
- 12The Pocket Retro: What a Companion App Really Costs
From Prompt to Private
- 01From Prompt to Private: A Clinic's Own AI, on Its Own Server
- 02Choosing the Model: Llama, Qwen and Gemma Sit the Clinic's Exam
- 03What Server Does a Clinic Need? Memory Arithmetic, Four Users and 120 Watts
- 04Installing the Runtime on the Server: systemd, Loopback Only, and the Port You Never Open
- 05Talking to It from .NET: OllamaSharp, Streaming, and a Chat Panel in the Staff Pages
- 06Giving It Knowledge, Part One: Chunks, Embeddings and pgvector in the Clinic's Own Database
- 07Giving It Knowledge, Part Two: Retrieval, Citations, and a Refusal the Model Cannot Skip
- 08The Staff Assistant Asks the Queue: Tool Calling, and a Guard Against Tools Nobody Asked For
- 09The Patient Assistant: Public Documents Only, on the Kiosk and in the App
- 10Does It Actually Work? Fifty Questions, Three Models, and the Number the Season Was For
- 11Running It for Real: Updates, Backups, Logs, and What a Month Costs
- 12The Private Retro: What a Clinic's Own AI Really Costs, and What It Got Wrong
Claude Code for .NET Developers
- 01CLAUDE.md for a .NET Solution: What to Write and What to Leave Out
- 02Claude Code Permissions for .NET: Allow dotnet build, Never Touch Production
- 03Claude Code Hooks for .NET: Format, Build and Test Without Being Asked
- 04Claude Code Skills for .NET: Package the EF Core Migration Chore
- 05Claude Code Subagents for .NET: A Second Pair of Eyes That Checks the Work
- 06Give Claude Code Your Database Schema: A Read-Only MCP Server in C#
AI & Modern Coding
- Is Ollama Using My GPU? ollama ps, the Server Log, nvidia-smi and Why It Falls Back to the CPU
- Where Ollama Stores Models and How to Move Them to Another Drive with OLLAMA_MODELS (Windows and Linux)
- The Ollama API with curl and from .NET: generate, chat, embed, the OpenAI-Compatible /v1 Endpoint and the Errors It Returns
- Ollama Default Port 11434: Change It with OLLAMA_HOST, Fix 'bind: Only one usage of each socket address', Reach It from WSL
- How to Install Ollama on WSL (Ubuntu) and Linux: What the One-Liner Really Does
- Local Model or Cloud API? Which One, and When
- What Building a Real App with AI Actually Cost: 36 Parts, Three Seasons, About $17
- What Is AI-Assisted Coding? A Beginner's Guide
- Vibe Coding: What It Is — and When to Trust It
- What Is a Large Language Model? A Friendly Explanation
- Prompt Engineering Basics for Developers
- What Is RAG? Retrieval-Augmented Generation, Explained
- What Are AI Agents? From Chatbots to Digital Coworkers
- What Is MCP? The Model Context Protocol, Explained Simply
Prepare for interviews
The .NET Developer Interview
- 01The .NET Developer Interview: What to Expect and How to Prepare
- 02C# Language Questions: Fundamentals They Always Ask
- 03async/await Interview Questions (the Deadlock Special)
- 04Collections and LINQ Questions
- 05ASP.NET Core and Web API Questions
- 06SQL and EF Core Questions
- 07System Design Questions for .NET Developers
- 08Behavioral Questions, Salary Talk, and Closing Strong
- 09EF Core Interview Questions: From DbContext to Production Migrations
The AI Engineer Interview
- 01The AI Engineer Interview: The Role, the Market, and Your Prep Roadmap
- 02LLM Fundamentals Questions (and Answers That Impress)
- 03Prompt and Context Engineering Questions
- 04RAG Design Questions: The New FizzBuzz
- 05Agents and Tool-Calling Questions
- 06The ML-Basics Minimum: Classic Questions You Still Get
- 07A Mock AI Engineer Interview, Walkthrough Style
Fixes
Have the error text? Paste it into the error lookup and jump straight to the fix. All 183, by stack, newest first in each:
MAUI, Android and Windows apps
- CA1422 in .NET MAUI: 'Window.SetStatusBarColor(Color)' is obsoleted on: 'Android' 35.0 and later
- NETSDK1147: To build this project, the following workloads must be installed: maui-android
- NU1102 on dotnet publish -r win-x64 for a MAUI app: NuGet can't find a Mono runtime pack
- MSB3030: Could not copy the file: a Windows App SDK build that dies past MAX_PATH
- D8: Type androidx.fragment.app.FragmentKt is defined multiple times (MAUI + Firebase)
- Blazor Hybrid on Android: content hidden under the status bar, env(safe-area-inset-top) is 0
- MAUI Android: 'No maps app' or ActivityNotFoundException with Google Maps installed
- Firebase says '1 delivered' but Android shows nothing: adb force-stop puts your app in stopped state
- CS0104: 'View' is an ambiguous reference between Android.Views.View and Microsoft.Maui.Controls.View
- AppNotificationManager.Show() displays no toast on Windows: the unpackaged-app identity problem
- MAUI SecureStorage.GetAsync throws on Android after a keystore reset
- apksigner verify prints a valid signature but your script reports failure: it is the shell, not apksigner
Blazor
- Blazor: 'EditForm requires a Model parameter, or an EditContext parameter, but not both'
- Blazor: 'Found markup element with unexpected name' (RZ10012)
- Blazor: 'Cannot provide a value for property' (no registered service)
- Blazor: 'Headers are read-only, response has already started'
- Blazor: 'The POST request does not specify which form is being submitted'
- Blazor: 'Cannot pass the parameter ChildContent to component with rendermode InteractiveServerRenderMode'
- Blazor: 'JavaScript interop calls cannot be issued at this time' during prerendering
- Blazor: 'The current thread is not associated with the Dispatcher. Use InvokeAsync()'
- Blazor: 'Object of type X does not have a property matching the name Y' (a misspelled parameter)
- Blazor: 'the required endpoints are not mapped on the server' for an InteractiveServer component
- Blazor serves empty CSS and JS files: MapStaticAssets without ASPNETCORE_ENVIRONMENT=Development
- Blazor: the h1 shows a focus ring after navigation (FocusOnNavigate and tabindex=-1)
- CS0542: member names cannot be the same as their enclosing type (a Blazor @inject named after its page)
- Blazor: 'An unhandled error has occurred' shows on every page after deleting the template CSS
Ollama and local AI
- Ollama: 'read GGUF metadata ... offset+size exceeds file size' from a damaged model
- Ollama create: 'Error: unsupported file type [80 75 3 4]' from a file that is not GGUF
- Ollama API: 'model not found', 'model is required' and 'cannot unmarshal' from curl
- Ollama: '403 Forbidden' for a web page's Origin, fixed with OLLAMA_ORIGINS
- Microsoft.Extensions.AI: 'IChatClient' does not contain a definition for 'UseFunctionInvocation'
- Ollama on Windows: 'Error: timed out waiting for server to start'
- Ollama: 'llama-server process has terminated: signal: killed'
- Ollama: 'Error: invalid model name'
- Ollama create: '400 Bad Request: invalid model name' from a Modelfile FROM path
- Ollama in WSL: 'ollama: command not found' with the Windows app installed
- Ollama: 'Error: pull model manifest: file does not exist'
- .NET HttpClient: 'Response status code does not indicate success: 404 (Not Found)', and the server message it hides (Ollama example)
- Ollama from .NET: 'No connection could be made because the target machine actively refused it'
- Ollama from .NET: 'ModelDoesNotSupportToolsException: gemma3:12b does not support tools'
- Ollama manual install on Linux: 'gzip: stdin: not in gzip format'
- Ollama manual install: 'tar: This does not look like a tar archive'
- Ollama on Linux and WSL: 'could not connect to ollama server'
- Ollama on Linux: 'bind: address already in use' on 127.0.0.1:11434
- Ollama manual install: 'tar: Archive is compressed. Use --zstd option'
- Ollama on Windows: 'bind: Only one usage of each socket address is normally permitted'
- Ollama install on Linux: 'This version requires zstd for extraction'
- Ollama under systemd: 'panic: $HOME is not defined'
EF Core, SQL Server and PostgreSQL
- SqlClient: 'The ConnectionString property has not been initialized'
- SqlClient: 'Keyword not supported: servername' and Npgsql: 'Couldn't set servername'
- PostgreSQL: 'current transaction is aborted, commands ignored until end of transaction block' (25P02)
- PostgreSQL: 'invalid input syntax for type integer' (22P02) in psql and Npgsql
- PostgreSQL: 'relation "customers" already exists' (42P07) in scripts and EF Core
- PostgreSQL: 'sorry, too many clients already' (53300) and reserved connection slots
- pg_restore: 'input file appears to be a text format dump. Please use psql.'
- Npgsql: 'Failed to connect to 127.0.0.1' with SocketException 10061 'actively refused it'
- SQL Server: 'Login failed for user 'sa'' (error 18456) in Docker and LocalDB
- SQL Server: 'Violation of PRIMARY KEY constraint. Cannot insert duplicate key' (error 2627)
- SQL Server: 'The INSERT statement conflicted with the FOREIGN KEY constraint' (error 547)
- SQL Server: 'Conversion failed when converting date and/or time from character string' (error 241)
- SQL Server: 'Cannot drop database because it is currently in use' (error 3702)
- SQL Server: 'Transaction was deadlocked on lock resources ... chosen as the deadlock victim' (error 1205)
- EF Core: 'Invalid column name' (SqlException 207) after adding a property
- System.Text.Json: 'The JSON value could not be converted to System.Int32'
- System.Text.Json: 'Deserialization of interface or abstract types is not supported'
- PostgreSQL: 'psql: FATAL: Peer authentication failed for user "postgres"'
- PostgreSQL: 'ERROR: database "shopdb" is being accessed by other users' (55006)
- PostgreSQL: 'ERROR: column "firstname" does not exist' (42703) on a mixed-case column
- Windows: 'psql' is not recognized as an internal or external command (cmd), or as the name of a cmdlet (PowerShell)
- psql: 'connection to server at "localhost" failed: Connection refused (0x0000274D/10061)'
- SQL Server: 'The certificate chain was issued by an authority that is not trusted'
- SQL Server: 'String or binary data would be truncated in table' (error 2628)
- SQL Server: 'Conversion failed when converting the varchar value to data type int' (error 245)
- SQL Server: 'Execution Timeout Expired. The timeout period elapsed prior to completion of the operation'
- Npgsql: 'Detail redacted as it may contain sensitive data' and Include Error Detail
- PostgreSQL in WSL: 'initdb: error: could not change permissions of directory' on /mnt/c
- Docker postgres: 'initdb: error: directory "/var/lib/postgresql/data" exists but is not empty'
- EF Core: 'No database provider has been configured for this DbContext'
- EF Core: 'There is already an object named ... in the database' (SqlException 2714)
- EF Core: 'Unable to resolve service for type AppDbContext while attempting to activate'
- PostgreSQL: 'FATAL: role "app" does not exist'
- PostgreSQL: 'FATAL: database "appdb" does not exist'
- PostgreSQL 15+: 'ERROR: permission denied for schema public'
- PostgreSQL: 'ERROR: relation "customers" does not exist' (42P01)
- PostgreSQL: 'pg_dump: error: aborting because of server version mismatch'
- SQL Server: 'A network-related or instance-specific error occurred' (error 26)
- SQL Server: 'Cannot open database requested by the login. The login failed.' (error 4060)
- SQL Server LocalDB: 'No process is on the other end of the pipe' with User ID=sa (error 233)
- SQL Server: 'Invalid object name' (error 208)
- SQL Server: 'Cannot insert explicit value for identity column when IDENTITY_INSERT is set to OFF' (error 544)
- postgres:18 in Docker: 'database files are incompatible with server' after upgrading from 16
- Docker postgres: '28P01: password authentication failed for user postgres' after changing POSTGRES_PASSWORD
- EF Core: 'The entity type ... requires a primary key to be defined'
- Npgsql: 'Cannot write DateTime with Kind=Local to PostgreSQL type timestamp with time zone'
- EF Core: 'Unable to create a DbContext of type' from dotnet ef migrations add
- EF Core: 'cannot be tracked because another instance with the same key value is already being tracked'
- EF Core: 'The LINQ expression could not be translated' when Where calls a C# method
- PostgreSQL: '23505: duplicate key value violates unique constraint' after seeding rows
- System.Text.Json: 'A possible object cycle was detected' when returning EF Core entities
- EF Core: 'A second operation was started on this context instance before a previous operation completed'
- Docker postgres: 'Database is uninitialized and superuser password is not specified'
- pgvector: 'function min(vector) does not exist'
- postgres:18 Docker container exits immediately: mount the volume at /var/lib/postgresql
- EF Core: two HasIndex calls on the same column create only one index (name them)
- EF Core: 'The model for context has pending changes' in tests while the app migrates fine
ASP.NET Core, C# and the .NET SDK
- HttpClient GetFromJsonAsync: '<' is an invalid start of a value (the server sent HTML, not JSON)
- HttpClient: 'No connection could be made because the target machine actively refused it' (10061)
- HttpClient: 'The request was canceled due to the configured HttpClient.Timeout of 2 seconds elapsing'
- NuGet: 'error NU1202: Package Microsoft.EntityFrameworkCore 10.0.14 is not compatible with net8.0'
- NuGet: 'error NU1605: Warning As Error: Detected package downgrade'
- ASP.NET Core API: 'blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present'
- ASP.NET Core: 'Synchronous operations are disallowed. Call ReadAsync ...' (AllowSynchronousIO)
- ASP.NET Core in Docker: 'Storing keys in a directory ... that may not be persisted outside of the container'
- HttpClient: 'The SSL connection could not be established' (UntrustedRoot) in WSL
- C# CS0246: 'The type or namespace name could not be found' (a using or a package)
- NETSDK1100: 'To build a project targeting Windows on this operating system' in Docker and WSL
- .NET in Docker: 'You must install or update .NET' for 'Microsoft.AspNetCore.App'
- .NET: 'FileNotFoundException: Could not load file or assembly' from a missing DLL
- dotnet build: 'System.IO.IOException: The process cannot access the file' from two builds at once
- NuGet: 'error NU1102: Unable to find package with version' on dotnet build
- ASP.NET Core BackgroundService: 'Cannot consume scoped service from singleton IHostedService'
- NuGet: 'error NU1301: Unable to load the service index for source'
- .NET SDK: 'MSB1003: Specify a project or solution file'
- .NET SDK: 'MSB1011: Specify which project or solution file to use'
- dotnet ef: 'No project was found. Change the current working directory or use the --project option'
- .NET: 'You must install or update .NET to run this application': the missing runtime, and DOTNET_ROLL_FORWARD
- ASP.NET Core: 'Unable to configure HTTPS endpoint. No server certificate was specified'
- ASP.NET Core: 'Hosting environment: Production' and port 5000 after dotnet run --no-launch-profile
- dotnet: 'A compatible .NET SDK was not found' when global.json pins a missing SDK
- NETSDK1004: 'Assets file project.assets.json not found' from dotnet build --no-restore
- NETSDK1045: 'The current .NET SDK does not support targeting .NET 10.0' with a global.json pin
- ASP.NET Core: 'Failed to bind to address ...: address already in use' (Kestrel)
- ASP.NET Core: 'Unable to resolve service for type ... while attempting to activate ...'
- ASP.NET Core: 'Cannot consume scoped service ... from singleton ...'
- C# CS8618: 'Non-nullable property must contain a non-null value when exiting constructor'
- SignalR WithAutomaticReconnect() stops reconnecting after four attempts
- dotnet build fails because the DLL is locked: your app (or test host) is still running
- ASP.NET Core: 'Unable to resolve service for type IOutputCacheStore', and why .CacheOutput() alone caches nothing
- CS0104: 'BarcodeReader<T>' is ambiguous between ZXing.Net and ZXing.Net.Bindings.ImageSharp
- dotnet run -nologo: the switch lands in your application's args
- ASP.NET Identity 'Invalid login attempt' with the right password: RequireConfirmedAccount and seeded users
Docker, Git and WSL
- Docker: 'permission denied while trying to connect to the Docker daemon socket'
- Docker: 'Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?'
- Docker Compose: 'service "web" depends on undefined service "db": invalid compose project'
- Docker: 'failed to set up container networking: network ... not found'
- Docker: 'exec: "bash": executable file not found in $PATH' (OCI runtime create failed)
- Docker: 'Error response from daemon: remove ...: volume is in use'
- Git: 'fatal: Need to specify how to reconcile divergent branches'
- Git: 'Your local changes to the following files would be overwritten by merge'
- Git: 'error: remote origin already exists'
- Git: 'Author identity unknown *** Please tell me who you are'
- Git: 'fatal: 'origin' does not appear to be a git repository'
- Git: .gitignore not working for a file that is already tracked
- Git: 'error: src refspec main does not match any'
- Git: 'error: pathspec 'develop' did not match any file(s) known to git'
- Git: 'fatal: could not read Username for 'https://github.com': terminal prompts disabled'
- Bash: './deploy.sh: cannot execute: required file not found' from CRLF line endings
- Docker: 'push access denied, repository does not exist or may require authorization'
- Docker build: 'failed to compute cache key: failed to calculate checksum of ref ... not found'
- Docker Desktop: 'open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified'
- Docker: 'exec /entrypoint.sh: no such file or directory' from CRLF line endings
- WSL: 'The command 'docker' could not be found in this WSL 2 distro'
- Docker: 'invalid mount config for type "bind": bind source path does not exist'
- Docker Compose: 'docker-compose: command not found' (use docker compose)
- Docker: 'invalid reference format: repository name must be lowercase'
- Docker: 'Conflict. The container name is already in use by container'
- Docker: 'Error response from daemon: pull access denied, repository does not exist or may require docker login'
- Docker: 'failed to resolve reference docker.io/library/postgres:99: not found'
- Docker Compose: 'no configuration file provided: not found'
- Docker in Git Bash: 'cannot access C:/Program Files/Git/data'
- Git: 'fatal: not a git repository (or any of the parent directories)'
- Git: 'error: Your local changes to the following files would be overwritten by checkout' (commit, stash or discard)
- Git: 'warning: in the working copy of 'file', LF will be replaced by CRLF the next time Git touches it'
- Git for Windows: 'fatal: unable to stat ...: Filename too long'
- Docker: 'driver failed programming external connectivity ... port is already allocated'
- Docker on Windows: 'ports are not available ... forbidden by its access permissions'
- Git push: 'fatal: The current branch ... has no upstream branch'
- Git push: '! [rejected] main -> main (fetch first)' and 'failed to push some refs'
- Git pull: 'fatal: refusing to merge unrelated histories'
- WSL sudo password not working or forgotten: 'Sorry, try again', and how to reset it from Windows
- Docker: 'cannot attach stdin to a TTY-enabled container because stdin is not a terminal'
- Git in WSL: 'fatal: detected dubious ownership in repository at /mnt/c/...'
- WSL: 'sudo: a password is required' when a script runs from Windows
Tools
- T-SQL → PostgreSQL translator
- Database schema reviewer
- EXPLAIN plan explainer
- SQL → LINQ converter
- Migration assessment report
- JSON → C# records
- EF Core migration SQL explainer
- Connection string checker
- Cron expression explainer
- Blazor render mode chooser
- Error lookup
- ER diagram from DDL
- DDL to EF Core entities
- Normalization checker
- C# → TypeScript