DEV Community

MICHAEL-MAURICE profile picture

MICHAEL-MAURICE

Backend engineer in Cairo writing about .NET + AI: AI agent security, MCP servers, RAG, and keeping LLM features reliable and affordable. Every post comes with tested code.

Location Cairo, Egypt Joined Joined on  Personal website https://elitesolutions1.gumroad.com github website
4 Week Community Wellness Streak
2 Week Community Wellness Streak
1 Week Community Wellness Streak
Five Year Club
Four Year Club
Three Year Club
Writing Debut
Two Year Club
One Year Club
Half an Answer Still Counts as a Hit: A 5-Step Chunking Audit for Your .NET RAG

Half an Answer Still Counts as a Hit: A 5-Step Chunking Audit for Your .NET RAG

Comments
6 min read

Want to connect with MICHAEL-MAURICE?

Create an account to connect with MICHAEL-MAURICE. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Throw These 8 Tokens at Your .NET MCP Server Before Someone Else Does

Throw These 8 Tokens at Your .NET MCP Server Before Someone Else Does

Comments 1
6 min read
Your LLM Concurrency Limit Is a Guess: 6 Questions to Answer Before You Set One in .NET

Your LLM Concurrency Limit Is a Guess: 6 Questions to Answer Before You Set One in .NET

Comments
5 min read
Your LLM Grader Is One Sentence Away From Giving 100: 6 Rules for Scoring Free-Text Answers in .NET

Your LLM Grader Is One Sentence Away From Giving 100: 6 Rules for Scoring Free-Text Answers in .NET

Comments
6 min read
26 Animated System Design Lessons Are Live — Watch the Trailer and See the Syllabus

26 Animated System Design Lessons Are Live — Watch the Trailer and See the Syllabus

Comments
3 min read
Your LLM Retries Are Attacking Your Own Provider: 5 Retry Mistakes in .NET and the Budget That Stops Them

Your LLM Retries Are Attacking Your Own Provider: 5 Retry Mistakes in .NET and the Budget That Stops Them

Comments 1
5 min read
Tech Skill Builder Pro: A System Design Course Plus Every Production .NET Project in TSB

Tech Skill Builder Pro: A System Design Course Plus Every Production .NET Project in TSB

Comments
8 min read
Your AI Agent Ticked Every Task. Here Are 6 Spec Gaps a Checkbox CI Check Will Never See

Your AI Agent Ticked Every Task. Here Are 6 Spec Gaps a Checkbox CI Check Will Never See

Comments
5 min read
Is Your .NET AI Chat Leaking Card Numbers? 7 Questions to Ask Before the Compliance Review

Is Your .NET AI Chat Leaking Card Numbers? 7 Questions to Ask Before the Compliance Review

Comments
6 min read
Your Stop Button Only Stops the Screen: 5 Places a .NET SignalR Chat Drops the CancellationToken

Your Stop Button Only Stops the Screen: 5 Places a .NET SignalR Chat Drops the CancellationToken

Comments 4
8 min read
Same Prompt, Two Runs, 13 Points Apart: Why My .NET Eval Gate Needed a Third Answer

Same Prompt, Two Runs, 13 Points Apart: Why My .NET Eval Gate Needed a Third Answer

Comments
6 min read
Sticky Sessions Won't Save Your AI Chat: 6 Questions Before You Run a .NET Chat Backend on Two Nodes

Sticky Sessions Won't Save Your AI Chat: 6 Questions Before You Run a .NET Chat Backend on Two Nodes

Comments
6 min read
5 Mistakes I Made Swapping a Hosted LLM for Local Ollama in .NET

5 Mistakes I Made Swapping a Hosted LLM for Local Ollama in .NET

Comments
5 min read
6 Things That Quietly Break Your LLM Prompt Cache in .NET

6 Things That Quietly Break Your LLM Prompt Cache in .NET

Comments
7 min read
"Failed" Is a Lie Your .NET Agent Tells the Model: Four Outcomes Every Tool Call Needs

"Failed" Is a Lie Your .NET Agent Tells the Model: Four Outcomes Every Tool Call Needs

Comments 2
6 min read
The Answer Cited Source [7]. I Only Sent Five: Trusting RAG Citations in .NET

The Answer Cited Source [7]. I Only Sent Five: Trusting RAG Citations in .NET

Comments
4 min read
Page 3 Showed the Same Post Twice: 5 Cursor Mistakes in a .NET Home Feed

Page 3 Showed the Same Post Twice: 5 Cursor Mistakes in a .NET Home Feed

1
Comments
5 min read
Six Interview Questions About Read Receipts That Most .NET Designs Get Wrong

Six Interview Questions About Read Receipts That Most .NET Designs Get Wrong

Comments
6 min read
Seven Tests I Write Before I Trust a .NET Play Counter

Seven Tests I Write Before I Trust a .NET Play Counter

Comments
5 min read
The Friend-Suggestion PR I Sent Back: 6 Review Comments on a .NET 'People You May Know' Query

The Friend-Suggestion PR I Sent Back: 6 Review Comments on a .NET 'People You May Know' Query

Comments
7 min read
The Safety Alert Waited Behind 40 Likes: A Post-Mortem of a Naive .NET Notification Fan-Out

The Safety Alert Waited Behind 40 Likes: A Post-Mortem of a Naive .NET Notification Fan-Out

Comments
6 min read
Your Upload Says 87% Done. Five Ways That Number Is Wrong in .NET 10

Your Upload Says 87% Done. Five Ways That Number Is Wrong in .NET 10

1
Comments
5 min read
5 Mistakes That Make a Hosted Code Interpreter Lie to Your Users

5 Mistakes That Make a Hosted Code Interpreter Lie to Your Users

Comments
4 min read
Your Agent Cited Pastebin: 5 Checks Before You Trust HostedWebSearchTool

Your Agent Cited Pastebin: 5 Checks Before You Trust HostedWebSearchTool

Comments
5 min read
5 Mistakes That Let a .NET AI Agent Burn Through 40 Tool Calls

5 Mistakes That Let a .NET AI Agent Burn Through 40 Tool Calls

Comments
6 min read
Your Classifier Says 0.97. Six Ways That Number Lies in .NET 10

Your Classifier Says 0.97. Six Ways That Number Lies in .NET 10

Comments
6 min read
Why Did That Chunk Win? 7 Questions I Ask Every Hybrid Search Result in .NET 10

Why Did That Chunk Win? 7 Questions I Ask Every Hybrid Search Result in .NET 10

Comments 5
6 min read
Before the 2 AM Page: 5 Questions I Ask Every .NET Service Before It Ships

Before the 2 AM Page: 5 Questions I Ask Every .NET Service Before It Ships

Comments
6 min read
My Sale Ended at the Wrong Midnight: 6 Bugs in Time-Limited Discount Codes in .NET

My Sale Ended at the Wrong Midnight: 6 Bugs in Time-Limited Discount Codes in .NET

Comments
3 min read
I Masked the User's Message and the Email Still Left: 7 Places PII Slips Out of a .NET 10 LLM Pipeline

I Masked the User's Message and the Email Still Left: 7 Places PII Slips Out of a .NET 10 LLM Pipeline

Comments
7 min read
Faking a Yes: 6 Attacks I Ran Against the Human Confirmation in My .NET 10 MCP Server

Faking a Yes: 6 Attacks I Ran Against the Human Confirmation in My .NET 10 MCP Server

1
Comments 2
7 min read
The Shadow Model Issued a Refund: 7 Mistakes That Make LLM Model Upgrades in .NET Riskier Than They Look

The Shadow Model Issued a Refund: 7 Mistakes That Make LLM Model Upgrades in .NET Riskier Than They Look

Comments
7 min read
Review Your LLM Tool Like a Public Endpoint: 8 Questions to Ask Before You Merge an AIFunction in .NET 10

Review Your LLM Tool Like a Public Endpoint: 8 Questions to Ask Before You Merge an AIFunction in .NET 10

Comments
8 min read
Stripe Will Send It Again: 7 Deliveries to Replay Against Your .NET Webhook Before Launch

Stripe Will Send It Again: 7 Deliveries to Replay Against Your .NET Webhook Before Launch

Comments
6 min read
Half Price Until You Pay Twice: 6 Ways an OpenAI Batch Job in .NET Quietly Costs You More

Half Price Until You Pay Twice: 6 Ways an OpenAI Batch Job in .NET Quietly Costs You More

Comments
6 min read
Your Telegram AI Assistant Can Email Anyone as You: 6 Checks to Run Before the Model Does

Your Telegram AI Assistant Can Email Anyone as You: 6 Checks to Run Before the Model Does

Comments
5 min read
Deleted, Emptied, Half-Written: 6 Files a Nightly RAG Ingestion Job Gets Wrong in .NET 10

Deleted, Emptied, Half-Written: 6 Files a Nightly RAG Ingestion Job Gets Wrong in .NET 10

Comments
5 min read
One Clarifying Question, One Line of C#: 5 Interview Bugs I Planted on Purpose

One Clarifying Question, One Line of C#: 5 Interview Bugs I Planted on Purpose

Comments
6 min read
Your First AI Feature in .NET 10 in 15 Minutes

Your First AI Feature in .NET 10 in 15 Minutes

Comments
4 min read
Parameterized Queries Can't Help Here: 6 SQLite Traps When an LLM Writes Your SQL

Parameterized Queries Can't Help Here: 6 SQLite Traps When an LLM Writes Your SQL

Comments
5 min read
5 Traps When One IChatClient Fronts OpenAI, Azure, Gemini and Anthropic (.NET 10)

5 Traps When One IChatClient Fronts OpenAI, Azure, Gemini and Anthropic (.NET 10)

Comments
6 min read
When the Guard Itself Breaks: Making .NET AI Agent Guardrails Fail Closed

When the Guard Itself Breaks: Making .NET AI Agent Guardrails Fail Closed

Comments
6 min read
Write the Boring Scenarios First: A Spec Checklist Before Your AI Coder Writes C#

Write the Boring Scenarios First: A Spec Checklist Before Your AI Coder Writes C#

Comments
6 min read
7 Prompts Your Semantic Cache Should Never Answer From Memory (.NET 10)

7 Prompts Your Semantic Cache Should Never Answer From Memory (.NET 10)

Comments 2
7 min read
Six Requests a Pick-Pack-Ship API Should Refuse (and the Status Code for Each)

Six Requests a Pick-Pack-Ship API Should Refuse (and the Status Code for Each)

Comments
7 min read
Treat Every MCP Server Like a Stranger: 7 Client-Side Rules for a .NET 10 Chat Host

Treat Every MCP Server Like a Stranger: 7 Client-Side Rules for a .NET 10 Chat Host

1
Comments 7
6 min read
5 Ways a MediatR Pipeline Quietly Goes Wrong (and the .NET 10 Tests That Caught Them)

5 Ways a MediatR Pipeline Quietly Goes Wrong (and the .NET 10 Tests That Caught Them)

Comments
6 min read
Before the First Pixel Reaches the Model: 6 Questions for Image Input in .NET 10

Before the First Pixel Reaches the Model: 6 Questions for Image Input in .NET 10

Comments 5
6 min read
The Wait Node Is the Easy Part: 6 Ways an n8n Human-Approval Step Breaks (and the .NET Fixes)

The Wait Node Is the Easy Part: 6 Ways an n8n Human-Approval Step Breaks (and the .NET Fixes)

Comments 4
8 min read
Where Does the Cache Go? 5 Ordering Questions for an IEmbeddingGenerator Pipeline in .NET 10

Where Does the Cache Go? 5 Ordering Questions for an IEmbeddingGenerator Pipeline in .NET 10

Comments
7 min read
4 Ways a Qdrant RAG Chatbot Rots After the Demo (and the .NET Checks That Catch Them)

4 Ways a Qdrant RAG Chatbot Rots After the Demo (and the .NET Checks That Catch Them)

Comments
7 min read
3 Places Your .NET Chat Code Quietly Drops OpenAI's Encrypted Reasoning

3 Places Your .NET Chat Code Quietly Drops OpenAI's Encrypted Reasoning

Comments
6 min read
5 Tests I Write Before I Trust a Multi-Agent Workflow in .NET 10

5 Tests I Write Before I Trust a Multi-Agent Workflow in .NET 10

Comments
7 min read
Your Stock Table Looks Fine. You Still Sold the Last Unit Twice.

Your Stock Table Looks Fine. You Still Sold the Last Unit Twice.

Comments 4
6 min read
6 Questions to Answer Before You Ship Speech-to-Text in .NET 10

6 Questions to Answer Before You Ship Speech-to-Text in .NET 10

Comments
6 min read
5 C# Bugs That Pass Code Review (and the Interview Questions Hiding in Them)

5 C# Bugs That Pass Code Review (and the Interview Questions Hiding in Them)

Comments
6 min read
4 Wiring Mistakes That Break Chat Image Generation in .NET 10

4 Wiring Mistakes That Break Chat Image Generation in .NET 10

Comments
6 min read
4 Prompting Mistakes That Make Claude Write the Wrong C#

4 Prompting Mistakes That Make Claude Write the Wrong C#

Comments
5 min read
Pause, Persist, Decide: A Human Approval Gate for .NET AI Tools

Pause, Persist, Decide: A Human Approval Gate for .NET AI Tools

1
Comments 2
5 min read
3 Bugs That Make a Real-Time CRM Board Lie About the Forecast

3 Bugs That Make a Real-Time CRM Board Lie About the Forecast

Comments
3 min read
loading...