languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2703 articles Updated Page 3 of 109
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 3 of 109
Newest first
-
Using Skills in Microsoft Agent Framework — C#
Csharp on Medium - Chatri Ngambenchawong Issue #562
Welcome to today’s post! This blog series dives into the Microsoft Agent Framework and my recent speaking session at Build.AI 2026. Continue reading on Towards Dev »
-
I Read the New MCP Apps Spec So You Don’t Have To: Here’s What Changes for .NET Developers
Medium - Ali Süleyman TOPUZ Issue #562
MCP stopped being a tool-calling protocol somewhere this year. Here is what that means for the C# server you are about to write.
-
Roman to Integer in C#: A Step-by-Step Guide to LeetCode #13
Medium - Pavan pitthdiya Issue #561
Roman to Integer is a popular beginner-friendly problem on LeetCode. It teaches an important programming concept: sometimes, the value of…
-
Building File-Based Apps in .NET: A Complete Guide With Multi-File Support
Medium - Anton Martyniuk Issue #561
For years, even the smallest C# program required a solution file, a project file, and a folder structure. Continue reading on CodeX »
-
1,500 posts
YapCast – Jesse Liberty Issue #560
So far, this blog has published 1,500 posts.
-
AG-UI Now Has a .NET SDK for AI Agent Applications
C# Corner - Niharika Gupta Issue #560
-
Build Your First MCP Server in C# with ASP.NET Core
C# Corner - Nithin Issue #560
Build a C# MCP server with ASP.NET Core, expose inventory tools over HTTP, and test them locally with the MCP Inspector.
-
⚡ Tasks and Parallelism in C#: Running Work in Parallel Without Shooting Yourself in the Foot
Medium - Ravikumar Makwana Issue #560
We all know how to await a single Task. But things get more interesting when we have multiple operations that can run at the same time.
-
Build a .NET Agent Harness With Microsoft.Extensions.AI
C# Corner - Riya Patel Issue #560
-
Why Parallel Code Loses Updates: lock, Interlocked, and Thread-Local State, Measured
C# Corner - dhana gani Issue #560
-
Hybrid Retrieval in C#: Combining Vector Search, Graph Traversal, and Reranking for Agent Memory
Medium - Mehdi Mohseni Issue #560
The Problem with Pure Vector Retrieval
-
DotThrow 2: one set of checks for guard clauses and validation in .NET
Medium - Shanto462 Issue #560
I rewrote my old guard clause library from scratch. It now ships as three NuGet packages, for plain C#, dependency injection and ASP.NET…
-
Background Processing: Handling Long-Running Tasks Safely with Hosted Services
C# Corner - Sardar Mudassar Ali Khan Issue #560
Learn to process long-running ASP.NET Core Web API tasks safely with BackgroundService, IHostedService, and a thread-safe System.Threading.Channels queue.
-
Cancel Slow AI Calls in .NET Without Hiding the Cause
C# Corner - Ranknod Issue #559
-
File-based apps can reference other C# files
Medium - Denis Makarenko Issue #559
File-based apps can now split code across files without first creating a project.
-
C# 14 Lets You Define Your Own += Operator
Medium - Ravikumar Makwana Issue #559
We use this every day:
-
The 2 AM Bug That Taught Me How Obfuscation Actually Breaks Your Code
Medium - Skater .NET Obfuscator Issue #559
I used to think obfuscation was a “flip the switch and ship it” kind of tool. Then I spent a night debugging a TypeLoadException in a…
-
I Thought I Knew LINQ — Then I Discovered These Methods
Medium - Ravikumar Makwana Issue #559
I’ve been writing C# for years. I’ve used LINQ countless times. Where(), Select(), OrderBy(), GroupBy()...
-
Building Interactive AI Agents Instead of One-Way Chatbots in C#
C# Corner - Aarav Patel Issue #559
-
Creating a memory dump in C#
C# Digest - [email protected] (Jakub Chodounsky) Issue #558
when an app crashes or hangs, logs alone often don't reveal the whole story
-
Async/Await in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #558
Async/await is one of the most misunderstood topics in C#, and interviewers know it.
-
The timeout that never fired
Josef Ottosson Issue #558
One if, two bugs: wrongly disposing a cancellation token source can lead to...some fun bugs.
-
Delegates & Events in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #558
Delegates quietly power something you’ve already used constantly — every LINQ method like Where and Select is built on them. This covers…
-
Developer’s Guide to Importing and Exporting Excel XLSX Using WPF
Medium - MESCIUS inc. Issue #558
Create a C# or VB WPF spreadsheet application with XLSX importing and exporting capabilities offered to the users from the app’s UI.
-
Result Pattern in C# and .NET 10 - When to Use, When to Skip
codewithmukesh Issue #558
A practical guide to the Result pattern in C# and .NET 10: real benchmarks, async services, ProblemDetails mapping, and what C# 15 unions change.