Remigiusz ZalewskiRemigiusz Zalewski

All Posts

Run Claude Code for FREE with Ollama

Run Claude Code for FREE with Ollama

Run Claude Code against a local AI model on your own PC - free, private and offline. Install Ollama, pick a model for your hardware, fix the context length, and connect it with ollama launch claude.

RAG Explained in 7 Minutes

RAG Explained in 7 Minutes

Why AI models hallucinate and the one idea that fixes it in almost every production AI system - Retrieval-Augmented Generation. Chunking, embeddings, vector search, prompt augmentation, and the four places RAG breaks.

Build Your First MCP Server in .NET with EF Core

Build Your First MCP Server in .NET with EF Core

Claude can write C# but has no idea what's in your database until you give it a way to ask. Build your first MCP server in .NET 10 with EF Core and SQL Server, expose three tools, and use it from Claude Desktop and MCP Inspector.

EF Core Bulk Operations: 2 Real-Life Scenarios You Should Know (.NET 10)

EF Core Bulk Operations: 2 Real-Life Scenarios You Should Know (.NET 10)

Two real production scenarios on a 1-million-row catalog - a tiered pricing promotion and a live CSV feed import - with numbers measured on camera: where a hand-rolled EF Core loop is fine, and where BulkUpdate, BulkMerge, and BulkSynchronize from Entity Framework Extensions turn 51 seconds into 12.

Partial classes in C# - Full Guide

Partial classes in C# - Full Guide

Partial classes are not just a way to split a big file in two. Splitting generated code from hand-written code, partial methods as optional extension points, and why EF Core's scaffolding leans on this feature so heavily.

.NET Database Migrations Explained using EF Core

.NET Database Migrations Explained using EF Core

Calling Database.Migrate() on startup is the demo answer, not the production one. How to actually ship schema changes - idempotent SQL scripts, migration bundles, a least-privilege migration login, and reviewing what EF generated.

Page 1 of 9