Creating a memory dump in C#
When applications crash in production, how much do we actually know about what happened? And more importantly, how easy is it to debug what happened so that we can fix the bug? Let’s learn how easy it...
View ArticleUse C# unions and closed hierarchies in ASP.NET Core
Sometimes an API contract says that a value can have more than one JSON type. Kubernetes has a practical example: maxUnavailable can be an absolute number, such as 2, or a percentage, such as "25%"....
View ArticleExplore new features available in C# 15 preview
C# 15 will ship with .NET 11 in November. All the new features are available in .NET 11 preview 7 for you to try now. C# 15 adds union types, closed hierarchies, the first preview of an updated unsafe...
View ArticleFrom generated code to trusted code with a unit-test agent
A common request to a coding agent is only one line: Generate unit tests. That request leaves important questions open. Which code needs tests? Which test framework does the project use? Where should...
View ArticleAnnouncing v2.0 of the official MCP C# SDK
The Model Context Protocol (MCP) C# SDK has reached v2.0, implementing the 2026-07-28 revision of the MCP specification. It’s the largest revision of the protocol since it launched. This release is...
View Article.NET at Microsoft Build 2026: Must watch sessions
That’s a wrap on Microsoft Build 2026! From union types in C# to agentic web apps and AI on the edge with .NET MAUI, this year’s event showed how .NET 11 is built for the AI era. Whether you joined...
View ArticleImproving C# Memory Safety
We’re in the process of significantly improving memory safety in C#. The unsafe keyword is being redesigned to inform callers that they have obligations that must be discharged to maintain safety,...
View ArticleHigh-Performance Distributed Caching with .NET and Postgres on Azure
In the world of modern .NET development, applications need to maintain high throughput, scale rapidly, and most importantly, deliver performance and responsiveness in all circumstances. This becomes...
View ArticleExplore union types in C# 15
Union types have been frequently requested for C#, and they’re here. Starting with .NET 11 Preview 2, C# 15 introduces the union keyword. The union keyword declares that a value is exactly one of a...
View ArticleRelease v1.0 of the official MCP C# SDK
The Model Context Protocol (MCP) C# SDK has reached its v1.0 milestone, bringing full support for the 2025-11-25 version of the MCP Specification. This release delivers a rich set of new capabilities...
View ArticleMicrosoft.Testing.Platform Now Fully Supported in Azure DevOps
Earlier this year, we announced that all major .NET test frameworks now support Microsoft.Testing.Platform. The next logical step? Making sure it works seamlessly with your CI/CD pipelines. Today,...
View ArticleIntroducing C# 14
C# 14 ships with .NET 10. The highlight is new extension members, but there’s a lot more features that make your life as a developer more productive. And, we’ve added new features that enable some of...
View ArticleCopilot Diagnostics toolset for .NET In Visual Studio
We know how much energy developers pour into debugging bugs and diagnosing performance in .NET. That’s why we’ve doubled down on making the debugging and profiling experience in Visual Studio not just...
View Article5 Copilot Chat Prompts .NET Devs Should Steal Today
Artificial intelligence is quickly becoming a key part of the modern .NET developer’s toolkit. With GitHub Copilot Chat, you can save countless hours, eliminate friction, and unlock new levels of...
View ArticleExploring new Agent Quality and NLP evaluators for .NET AI applications
When building AI applications, comprehensive evaluation is crucial to ensure your systems deliver accurate, reliable, and contextually appropriate responses. We’re excited to announce key enhancements...
View ArticleBuilding a Full-Stack App with React and Aspire: A Step-by-Step Guide
In this post we will build we will build a TODO app from start to finish using Aspire and React. We will do this using the CLI and C# Dev Kit. The todo items will be stored in a SQLite database. The...
View ArticleMCP C# SDK Gets Major Update: Support for Protocol Version 2025-06-18
The Model Context Protocol (MCP) continues to evolve, and we’re excited to announce that the MCP C# SDK now supports the latest specification version 2025-06-18. This update brings significant new...
View ArticleEvaluating content safety in your .NET AI applications
We are excited to announce the addition of the Microsoft.Extensions.AI.Evaluation.Safety package to the Microsoft.Extensions.AI.Evaluation libraries! This new package provides evaluators that help you...
View ArticleBuild a Model Context Protocol (MCP) server in C#
In the rapidly evolving world of AI and machine learning, effective communication between models and applications is critical. The Model Context Protocol (MCP) is a standardized protocol designed to...
View ArticleMSTest 3.8: Top 10 features to supercharge your .NET tests!
MSTest, also known as Microsoft Testing Framework, simplifies the testing experience for .NET applications. This test framework allows users to write and execute tests while providing test suites...
View Article