Browse All .NET Content (345)

Jack Batzner shows how to add a governance layer to MCP-based AI agents in .NET using the Agent Governance Toolkit, including policy-driven tool-call authorization, security scanning of tool definitions, response sanitization to reduce prompt-injection risk, and built-in audit/telemetry via OpenTelemetry.
News
McKenna Barlow explains that starting in .NET 11 Preview 4 and Visual Studio 18.8, VSTest will stop shipping a transitive Newtonsoft.Json dependency, switching to System.Text.Json (and JSONite on .NET Framework). The post outlines who might break, what errors to expect, and the typical one-line fix.
News
Matt Clark announces official SDK-style project support for VSSDK-based Visual Studio extension (VSIX) projects in Visual Studio 18.5, covering what changes, expected build-time improvements, and the key migration steps (including XAML and deploy settings).
News
skundapura outlines a phased approach to migrate file-based application logging from Splunk to Azure Application Insights on VMs, using Azure Monitor Agent and Log Analytics, then mapping alerts and optionally adding SDK instrumentation for deeper traces and metrics with security and PHI considerations.
Community
Shah_Viral explains how to build an enterprise “knowledge copilot” on Azure using Foundry IQ knowledge bases and Azure AI Search agentic retrieval, including C#/.NET setup, MCP-based agent connection, and key trade-offs around preview maturity, cost, latency, and security controls like ACLs and Purview labels.
Community
Sergey Menshykh announces A2A Protocol v1.0 support in Microsoft Agent Framework for .NET, showing how to discover and call remote A2A agents, stream responses, and host your own agents as A2A endpoints in ASP.NET Core with updated v1 hosting APIs and migration notes from v0.3.
News
Microsoft Developer hosts a Cosmos DB Conf 2026 session where Sergiy Smyrnov demonstrates migrating an AdventureWorks-based ASP.NET/EF Core app from a relational database to Azure Cosmos DB for NoSQL, using GitHub Copilot and Cosmos DB Agent Kit prompts to plan the move and rewrite the data layer.
Videos
Rick Strahl shows how to use .NET Native AOT to publish a Windows-native WinAPI-style (StdCall) DLL from a .NET class library, including how to export functions with UnmanagedCallersOnly, build with dotnet publish, and handle interop constraints like strings and structs when calling from FoxPro.
Blogs
Swapnil Nagar explains how Azure Functions can settle Azure Service Bus messages individually when processing batches, so one failing message doesn’t force the whole batch to retry. The post covers complete/abandon/dead-letter/defer actions and shows working examples in TypeScript, Python, and .NET isolated worker.
News

Welcome to SkiaSharp 4.0 Preview 1

David Ortinau announces SkiaSharp 4.0 Preview 1, a major .NET graphics update that moves to a newer Skia engine and adds features like variable fonts, color font palettes, and the new SKPathBuilder API, plus new native targets and an updated roadmap with a Blazor WebAssembly gallery.
News
Jared Meade builds a .NET 10 console app that demonstrates tiered caching using HybridCache: an in-memory layer plus a distributed cache stored in Azure Database for PostgreSQL. The walkthrough covers generic host setup, configuration and secrets, wiring the Postgres cache provider, and benchmarking latency improvements with cache hits vs misses.
News
dotnet hosts João Antunes discussing the transactional outbox pattern for distributed applications, using his OutboxKit toolkit as a concrete example and sharing lessons learned (plus alternatives) for avoiding lost messages and consistency issues.
Videos
rajesh-yadav breaks down what shipped in Microsoft Agent Framework 1.0 (GA), explaining its agent + workflow split, core runtime building blocks, and new interoperability pieces like A2A and MCP. The post includes minimal C# and Python examples using Azure AI Foundry/Projects endpoints to run an agent in production-style setups.
Community

Why Does Azure App Service Return HTTP 404?

AmritpalSinghNaroo explains common, real-world reasons Azure App Service can return HTTP 404 even when the app looks “Running”, and provides a practical checklist to isolate whether the issue is routing, startup/configuration, deployment artifacts, platform differences (Windows vs Linux), or upstream components like Application Gateway.
Community
Sander ten Brinke explains how to implement API versioning in .NET 10 (controllers and Minimal APIs) while keeping OpenAPI docs accurate per version, using the new Asp.Versioning v10 packages plus SwaggerUI or Scalar for browsing the generated /openapi/v*.json documents.
News
This week’s roundup is about the trade-offs that show up when agents move from demos to daily work: more surfaces, more automation, and more reasons to enforce limits and policies. GitHub Copilot expanded agent experiences and model options (including GPT-5.5 GA), but it also introduced tighter individual usage controls and shifting access to premium Claude Opus models. On the Microsoft side, Azure AI Foundry, Agent Framework, and Fabric leaned into governed tool execution through MCP, with secure networking, managed identity, and outbound restrictions becoming default expectations. We close with the less glamorous but essential work of reliability and security: upcoming GitHub protocol and token changes, DevSecOps tuning via CodeQL and dependency graphs, and Defender research that turns real intrusion chains into actionable hunts and containment steps.
Roundups
vikasgupta5 explains how Azure Functions Service Bus triggers work and provides a practical troubleshooting guide for common failures like connection/auth issues, message lock loss, DLQ behavior, duplicate processing, scaling problems, sessions, and AMQP/network errors, with concrete host.json settings and verification steps.
Community
Authorised Territory demonstrates how to define a skill in code and attach it to an AI agent built with the .NET Agent Framework, using a locally running LLM via Ollama.
Videos
Debapriya explains how to use VS Code Dev Containers to make .NET development reproducible, including a working .NET 8 Web API + PostgreSQL setup with Docker Compose, plus practical guidance for Docker Desktop vs Docker Engine in WSL and common troubleshooting checks.
Community
Wes Steyn breaks down the main chat history storage patterns for AI agents—service-managed vs client-managed—and explains how Microsoft Agent Framework uses AgentSession and pluggable history providers to switch between providers (including Azure OpenAI and Foundry) without rewriting your agent code.
News

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.