languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2768 articles Updated Page 4 of 111
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 4 of 111
Newest first
-
C# Concepts Every .NET Backend Developer Should Know in 2026
Medium Issue #573
A .NET API can feel perfectly fine with a little traffic and then start struggling as the app grows. Queries get slower, outgoing HTTP…
-
What Runtime Async in .NET 11 Changes for C# Developers
C# Corner Issue #573
Explains how async and await work in C# and how to evaluate .NET 11 runtime changes, including tasks, continuations, cancellation, and migration testing.
-
Async/Await in C#: The Mental Models That Finally Made It Click
Medium Issue #573
When I started learning async and await in C#, I understood the syntax.
-
Claude Fable 5.1 vs GPT-6 Astra: HTML to PDF in C# (.NET 10)
codewithmukesh Issue #572
I gave Claude Fable 5.1 and GPT-6 Astra the same invoice prompt, rendered all 10 templates with IronPDF on .NET 10 and scored them in C#. Both passed, and one print CSS rule was the only real differen...
-
Software Architecture in .NET C#: Shaping applications that survive change
Medium Issue #571
Every application has an architecture. The only question is whether someone chose it, or whether it simply happened, one urgent feature at…
-
Why I Built a Multi-Paxos Library for .NET
Medium Issue #571
Inside a Multi-Paxos Library — Part 1: turning agreement, application state, and failure into explicit architectural boundaries.
-
Bring Your Own Model to the GitHub Copilot SDK with C#
Microsoft Dev Blogs Issue #571
Hi, I know, I keep coming back to the same theme on this blog: agent harnesses. In Build Your Own AI Agent Harness in C# we built one from scratch. In
-
From Throwing Exceptions to the Result Pattern
Medium Issue #571
Seven attempts at API error handling, and the one that stayed.
-
SOLID Principles in C#: A Beginner-Friendly Guide with Real-World Examples
Medium Issue #570
💥 𝗪𝗿𝗶𝘁𝗶𝗻𝗴 𝗰𝗹𝗲𝗮𝗻 𝗰𝗼𝗱𝗲 𝗶𝘀𝗻’𝘁 𝗷𝘂𝘀𝘁 𝗮𝗯𝗼𝘂𝘁 𝗺𝗮𝗸𝗶𝗻𝗴 𝗶𝘁 𝘄𝗼𝗿𝗸 — 𝗶𝘁’𝘀 𝗮𝗯𝗼𝘂𝘁 𝗺𝗮𝗸𝗶𝗻𝗴 𝗶𝘁…
-
An introduction to Compact Binary Object Notation (CBOR) in .NET
Andrew Lock | .NET Escapades Issue #570
In this post I introduce CBOR as a JSON alternative, and show how to use the System.Formats.Cbor NuGet package to read and write CBOR encoded data
-
Microsoft Shows C# Developers How to Bring Their Own Models to GitHub Copilot SDK
Visual Studio Magazine Issue #570
A new .NET sample demonstrates how developers can use Microsoft Foundry or other AI model providers with GitHub Copilot's agent runtime.
-
.NET: I didn’t write this Excel formula engine. Here is why I trust it anyway
Medium Issue #570
Disclosure: SharpCell’s code was written by Claude Code, with me directing it. This article was drafted with Claude too, and edited by me…
-
Understanding CancellationToken in C# and ASP.NET Core Web API
C# Corner Issue #570
Learn how to use CancellationToken in ASP.NET Core Web API to stop abandoned requests, cancel EF Core queries, and handle request cancellation efficiently.
-
Building Real-Time App in .NET with REPR
C# Corner Issue #570
Building Real-Time App in .NET with REPR WebSockets.Otp is inspired by REPR (Request-Endpoint-Response) principles and trying to bring the same elegance from Minimal APIs, FastEndpoints, or MediatR to...
-
Free Web Search for AI Agents: Scraping Bing with C# HttpClient (No API Key Needed)
Medium - Donma Hsu 當麻許 Issue #569
I’ve been working on my Web Agent lately and wanted to set up a free Web Search fallback.
-
Must-Know C# 15 and .NET 11 Features
Medium - Dmytro Korolov Issue #569
A quick, no-fluff tour of the C# 15 and .NET 11 changes that actually matter in your day-to-day work.
-
TypeSafe Jev .NET SDK 0.7.0: Experimental Images and Bounding Boxes
Laurent Kempé Issue #569
In my first post about TypeSafe and Jev in .NET, I used the SDK to make structured judgments about text and J...
-
Testing Payment Retries Without Charging Customers Twice
C# Corner - Vivek Kumar Issue #569
Learn how to test payment retry logic in C# using idempotency keys, explicit payment states, and simulated timeout scenarios to prevent duplicate charges.
-
-
How to Use Redis Distributed Locks Without Creating Stuck Locks
C# Corner Issue #569
Learn how to implement safe Redis distributed locks in C# with StackExchange.Redis, unique ownership tokens, expirations, and atomic Lua-based release.
-
How to Build a Provably Fair Verification Tool in C# with SHA-256 and HMAC-SHA256
C# Corner - Jutsu Casino Issue #568
-
How to Find and Fix Time Zone Bugs in C# Applications
C# Corner Issue #568
Learn how to diagnose and prevent time zone bugs in C# using DateTime, DateTimeOffset, UTC storage, and explicit TimeZoneInfo conversions.
-
From InMemory to SQLite: Making My First C# API Data Persistent
Medium Issue #568
Today, I spent a few hours working on my PizzaStore API, and one of my main goals was to move from an InMemory database to SQLite.
-
Restoring Readable Crash Logs from Obfuscated .NET Builds: A Field Guide to Symbol Map Deobfuscation
C# Corner - Rustem soft Issue #568
Learn how to securely store .NET obfuscation maps and use them to restore readable C# stack traces from production crash logs.
-
Draw Lines, Rectangles, and Curves on PDF Pages with C#
Medium - Andrew Wilson Issue #568
Drawing shapes in PDFs is a common task when generating reports, diagrams, or data visualization documents. This article shows how to use…