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
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
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

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
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 2
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 4
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 2
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
Your Clean Architecture Diagram Is Decoration Until CI Breaks It

Your Clean Architecture Diagram Is Decoration Until CI Breaks It

Comments
3 min read
Your Chat History Is Eating the Context Window — Fix It With a Reducer

Your Chat History Is Eating the Context Window — Fix It With a Reducer

Comments
3 min read
4 Pipeline Orders That Quietly Double Your LLM Bill

4 Pipeline Orders That Quietly Double Your LLM Bill

Comments
3 min read
5 Ways Your AI Agent Eval Suite Lies to You

5 Ways Your AI Agent Eval Suite Lies to You

Comments 2
4 min read
Schema-Valid Isn't Correct: 4 Checks Before You Trust LLM Extraction

Schema-Valid Isn't Correct: 4 Checks Before You Trust LLM Extraction

1
Comments 6
4 min read
5 RAG Mistakes That Leak Private Docs Into Chat Answers

5 RAG Mistakes That Leak Private Docs Into Chat Answers

Comments 1
4 min read
Route Once, Fail Over Among Equals: When NOT to Retry an LLM Call

Route Once, Fail Over Among Equals: When NOT to Retry an LLM Call

Comments
4 min read
5 Mistakes That Make LLM Streaming Break on a Flaky Network

5 Mistakes That Make LLM Streaming Break on a Flaky Network

Comments 1
4 min read
I Got Tired of Rebuilding the Same AI SaaS Plumbing, So I Packaged It

I Got Tired of Rebuilding the Same AI SaaS Plumbing, So I Packaged It

1
Comments 1
7 min read
Don't Hand Your AI Agent the Keys: Building a Secure Remote MCP Server in ASP.NET Core

Don't Hand Your AI Agent the Keys: Building a Secure Remote MCP Server in ASP.NET Core

Comments
9 min read
Resize Images in asp.Net

Resize Images in asp.Net

2
Comments
1 min read
movie Tickets Reservation system

movie Tickets Reservation system

Comments
1 min read
.NET Core vs .NET Framework

.NET Core vs .NET Framework

3
Comments
1 min read
Cumulative Sum

Cumulative Sum

6
Comments
1 min read
loading...