Sources

DV DEV Community: #aspnetcore
RSS

17stories
1 d agolatest
ASP.NET Core 10
Headers are not server cache
DVDEV Community: #aspnetcore Sukhpinder Singh Oct 22

Cache-Control Header Is Not Output Caching: A Handler Counter Test

The author compares a Cache-Control header with ASP.NET Core output caching using a handler counter. The header only instructs clients and proxies, so the handler ran on all ten calls, while output caching stored the response on the server and ran the handler once. It is a concrete warning for anyone who thinks a cache header caches on the server.

MCP · ASP.NET Core
Your API as MCP tools
DVDEV Community: #aspnetcore Rahmat Afridi Oct 19

Exposing Existing ASP.NET Core APIs to AI Agents with a Secure MCP Server

A practical guide to adding a Model Context Protocol server to an existing ASP.NET Core app using the official ModelContextProtocol C# SDK. It covers wrapping existing services as read-only tools, locking the endpoint down with JWT authentication and per-tool authorization, and verifying the surface with an MCP client. Useful for teams that want AI agents to use their current APIs without a rewrite.

ASP.NET Core
Review agent-written code
DVDEV Community: #aspnetcore Mehdi Mohseni Oct 18

Reviewing Agent-Written .NET Code: Green Builds Can Still Hide Bugs

Mehdi Mohseni argues that coding agents now write much of the code, but developers still need the judgment to spot code that looks right and is wrong. Using ASP.NET Core examples, he shows how generated code can compile, pass tests and still hide a fail-open security check or a silent misconfiguration. A practical read for anyone reviewing agent output.

xapi-dotnet 0.2.0
Lessons from an xAPI library
DVDEV Community: #aspnetcore Nurullah Türkoğlu Oct 17

What I learned building an xAPI 2.0 library and LRS for .NET

The author built xapi-dotnet, an xAPI 2.0 (IEEE 9274.1.1) library with statement models, an async client, a durable outbox and an LRS that runs inside ASP.NET Core. The write-up covers conformance testing in CI, reflection-free JSON handling for Native AOT and Unity, and the real cost of durable writes. Useful for any team sending e-learning data from .NET.

Feedback

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

Type of message