Quantcast
Channel: C# - Tag | .NET Blog
Browsing index pages (58 articles)
↧

Image may be NSFW.
Clik here to view.

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 Article


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


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

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

Announcing 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


Image may be NSFW.
Clik here to view.

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

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

Image may be NSFW.
Clik here to view.

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


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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

Microsoft.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 Article

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

Image may be NSFW.
Clik here to view.

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


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

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

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

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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

MSTest 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
Browsing index pages (58 articles)