languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 4 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 4 of 103
Newest first
-
Explore new features available in C# 15 preview
devblogs.microsoft.com Issue #531
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...
-
Keep Your Application Layer Clean: FluentValidation and Mapster in .NET Clean Architecture
medium.com Issue #530
How to stop your services from drowning in if/else validation and manual mapping code
-
Still Using Task.Run() in ASP.NET Core? Fix C# Async Await the Right Way
medium.com Issue #530
Your ASP.NET Core API is slow, so you add Task.Run() and expect things to get better.
-
C# 15 Union Types in .NET 11: Benchmarking Pattern Matching and Allocation Costs
c-sharpcorner.com Issue #530
Benchmark C# 15 union types in .NET 11 by comparing pattern matching performance, memory allocations, and execution costs against traditional C# approaches.
-
Threads vs Task Parallel Library (TPL) in .NET [Part 3]
medium.com Issue #530
Part 3: ⚽ Sports Betting Platforms — Parallelism Under Real-Time Pressure
-
How to Create a Custom Date Picker Control in Windows Forms
c-sharpcorner.com Issue #529
In this article, learn how to build a custom, lightweight date picker control for Windows Forms applications using C#. Discover how to design custom UI layouts, manage date selection logic, and extend...
-
Building a Distributed Task Queue from Scratch in C#
medium.com Issue #529
I started this project with a simple question:
-
.NET 11 Preview 7: What’s New and Why Developers Should Explore It
c-sharpcorner.com Issue #529
A simple and practical look at .NET 11 Preview 7, covering the latest features, performance improvements, ASP.NET Core updates, C# development, EF Core, cloud tools, and what developers should know be...
-
Graceful Degradation: Architecting Resilient Enterprise Applications in C#
c-sharpcorner.com Issue #529
Graceful degradation is an architectural pattern that detects component failures and falls back to reduced functionality—ensuring core operations remain available and business continuity is preserved.
-
Rubbish Code, Clean Memory: Understanding the .NET Garbage Collector
truestorydavestorey.medium.com Issue #529
Automatic memory management is a cornerstone of what makes many modern programming languages and runtimes so appealing to many engineers…
-
Designing Controlled Concurrency in .NET with SemaphoreSlim
c-sharpcorner.com Issue #529
Learn how to use SemaphoreSlim to control asynchronous concurrency in .NET, limit concurrent order-processing operations, avoid resource pressure, and improve throughput compared with fixed-size batch...
-
Business Rules Don’t Have to Live in a Wiki Page: Enforcing Them with a Roslyn Analyzer
medium.com Issue #528
How a .NET Roslyn analyzer moves a business-specific guardrail from developer memory into every build
-
.NET 11 Preview 7 Brings Updates Across C#, ASP.NET Core, EF Core, and Windows Forms - infoq.com
infoq.com Issue #528
.NET 11 Preview 7 Brings Updates Across C#, ASP.NET Core, EF Core, and Windows Forms infoq.com
-
C# 15 & .NET 11: 11 New Features Every .NET Developer Should Know
medium.com Issue #528
C# keeps getting better.
-
Performance Tuning in Modern C# Applications: Stop Using Brute Force and Start Thinking in Grey…
medium.com Issue #528
Performance tuning is often approached as a race to make individual operations faster.
-
One Language to Rule Them? LINQ, Abstraction, and What's Next
binaryintellect.net Issue #527
In Part 1, we traced how .NET's data formats each grew their own query language, and how LINQ emerged as Microsoft's attempt to paper over the fragmentation. In Part 2, we walked through that fragment...
-
PuppeteerSharp C#: Export Chart.js Dashboards to PDF (Guide)
c-sharpcorner.com Issue #526
Learn how to generate PDF reports from JavaScript-based dashboards in .NET 10 using PuppeteerSharp and IronPDF. Compare both approaches, understand their architecture, and see how they perform when re...
-
Build Your First MCP Server in C# with the Official SDK
codewithmukesh.com Issue #526
Build an MCP server in C# with the official ModelContextProtocol SDK 2.1 on .NET 10. Real tools, stdio and HTTP transport, plus what actually changed in v2.0.
-
Diving in OOP (Polymorphism and Inheritance – Part 4): All About Access Modifiers in C#
c-sharpcorner.com Issue #526
Learn C# access modifiers (public, private, protected, internal, sealed) and const/static/readonly fields through a hands-on Coffee Shop example.
-
What happens when you call await? A step-by-step runtime breakdown
blog.elmah.io Issue #526
This step-by-step breakdown shows what happens when C# hits an await: the compiler generates an IAsyncStateMachine struct with a MoveNext() method splitting code at each await, using a GetDataCountAsy...
-
Everything You Need to Know About the Latest in C#
youtube.com Issue #526
Union types are coming to C#! Unions model closed sets of data shapes, as commonly seen in e.g. wire protocols. Mads and Dustin explore the clean expression of intent and the confidence and elegance t...
-
Undo Is a Feature: Saga Compensation and the Reconciliation Backstop
medium.com Issue #525
A cancelled order has to give back stock that a transaction closed minutes ago already took, and a payment confirmation that never arrives…
-
An Overview of Agent Memory for .NET
jesseliberty.com Issue #525
The ability for Microsoft Agent Framework agents to retain and utilize knowledge across interactions is critical. One solution for this is Agent Memory for .NET, a cutting-edge, mind-blowing, graph-na...
-
OOP in C#: How Encapsulation, Inheritance, Polymorphism & Abstraction Actually Show Up in ASP.NET
medium.com Issue #525
Every C# developer can recite the four pillars of OOP in an interview. Fewer can point to where each one is actually doing work in a real…
-
How to Convert PDF to PowerPoint in C# Using a Free .NET Library
medium.com Issue #525
Converting PDF documents into editable PowerPoint presentations (PPTX) is a common challenge in enterprise document management. While…