Sources

DV DEV Community: #dotnet
RSS

20stories
1 d agolatest
.NET 10
Keyless AI chat
DVDEV Community: #dotnet Henrique Mauri 1 d ago

A secure enterprise chat with React, .NET 10 and Microsoft Foundry

The article targets the common mistake of calling the model straight from the front end with the API key in JavaScript, and instead wires React to a .NET 10 Minimal API that talks to Microsoft Foundry without any keys. It walks through Entra ID authentication, a server-owned system prompt, Server-Sent Events streaming and IP-based rate limiting as the protections that separate a demo from a product.

.NET MCP güvenliği
6 attacks on MCP confirmation
DVDEV Community: #dotnet MICHAEL-MAURICE 2 d ago

Faking a Yes: 6 Attacks on the Human Confirmation in a .NET 10 MCP Server

A developer red-teamed the confirmation step of a refund MCP server built on ASP.NET Core with the official C# SDK (ModelContextProtocol 2.3.0). Six attacks — plain-JSON requestState, replaying another user's approval, injected form fields and a pre-checked consent box — each led to a concrete server-side defense, plus a checklist you can apply to your own tools.

Entra ID
Protect APIs with scopes
DVDEV Community: #dotnet Bilal Haidar 3 d ago

Securing APIs with Microsoft Entra ID: scope, client and token validation

A practical guide to protecting an API with Microsoft Entra ID: registering the API, exposing a scope, and registering the client that requests it. It walks through a .NET Core API using Microsoft.Identity.Web, a React client using MSAL, and a .NET web app calling a downstream API. The same token checks apply to any backend stack.

TableSchema
Compare, plan, then apply
DVDEV Community: #dotnet Jeff Tsai 3 d ago

TableSchema and database structure upgrades: compare, plan, execute

This post explains how a .NET ERP framework applies TableSchema definitions to the physical database without migration scripts. Each upgrade compares the live structure with the definition, then separates compare, plan and execute so the mode (ALTER or rebuild) can be checked before running. It is useful for developers who maintain schemas that already hold production data.

Claude Code
Agent loop for .NET
DVDEV Community: #dotnet Mehdi Mohseni 4 d ago

Claude Code for .NET Developers: A Practical Agentic Workflow

Claude Code is an agent that reads a repository, plans changes, edits files and runs dotnet build and dotnet test until the code passes. Mehdi Mohseni's guide shows how a .NET team can set it up with a CLAUDE.md, a PostToolUse build hook, plan mode and permission guardrails. It is worth reading if you want the agent to check its own work.

AI agents
Checks before the model
DVDEV Community: #dotnet MICHAEL-MAURICE 5 d ago

Six checks an AI Telegram assistant needs before the model runs

A developer built a Telegram assistant in n8n that can send email and book meetings, with its decisions guarded by a small ASP.NET Core API on .NET 10. The post lists six checks that run before the model sees a request: chat allowlist, duplicate updates, stale messages, voice length, contact ambiguity and time zones. It is a useful checklist for any bot that triggers side effects.

FluentMap 3.6
Keep old mappings working
DVDEV Community: #dotnet Rodrigo de Oliveira 5 d ago

Dapper FluentMap Is Back: What Changed from 2.0 to 3.6

After six years without a stable release, Dapper FluentMap is maintained again and version 3.6.0 adds nested mappings, property converters, isolated runtimes, analyzers and source generators. The author stresses keeping existing applications working during upgrades. The piece also covers what to check before moving from 2.0.0 and which databases are certified.

AI in ASP.NET Core
Build a knowledge assistant
DVDEV Community: #dotnet AI Engineering Foundry 6 d ago

Building an AI Knowledge Assistant with ASP.NET Core

This tutorial shows how to grow a single LLM call into a production-ready AI feature on ASP.NET Core. It covers authentication, retrieval-augmented generation, security and failure handling. It is a practical roadmap for .NET developers who want the model to stay a replaceable dependency inside their application.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message