languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 8 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 8 of 103
Newest first
-
Demystifying the Factory Pattern in Modern C#
c-sharpcorner.com Issue #512
Master the Factory Pattern in C# to decouple object creation, enhance extensibility, and simplify testing. Avoid tight coupling with 'new'.
-
Typed Errors in C#: Building Safer Functional Code with Arrow — Part 1
medium.com Issue #512
Most application code handles failure in one of two ways:
-
Announcing v2.0 of the official MCP C# SDK
devblogs.microsoft.com Issue #512
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.
-
IQueryable vs IEnumerable in C# — The Difference Every .NET Developer Should Know
medium.com Issue #511
If you’ve worked with LINQ or Entity Framework, you’ve almost certainly seen these two interfaces:
-
I built an AI-writing detector that shows its work — and speaks Spanish
medium.com Issue #511
Most AI detectors are black boxes. You paste a paragraph, a number comes back (“87% AI”) and you’re supposed to trust it. A teacher can’t…
-
Top 10 TPL (Task Parallel Library) Interview Questions with Examples
c-sharpcorner.com Issue #511
Master TPL with top 10 interview questions & examples. Understand Tasks, async/await, Parallel.ForEach, and cancellation for .NET concurrency.
-
Enterprise AI Patterns for .NET Developers
youtube.com Issue #511
Join Bruno Capuano and Angel Hernandez for a live conversation on the latest developments in AI for .NET developers. In this episode, we'll explore practical ways to integrate AI into modern .NET appl...
-
Dependency Injection in C#: Explained Without the Confusing Jargon
medium.com Issue #511
If you’ve worked with ASP.NET Core, you’ve probably written something like this:
-
Day 6: The Bug That Changed How I Write Code
medium.com Issue #511
Today wasn’t about learning more C# keywords — it was about understanding how good software handles problems without falling apart.
-
Microsoft updates MCP C# SDK for stateless MCP - InfoWorld
infoworld.com Issue #511
Microsoft updates MCP C# SDK for stateless MCP InfoWorld
-
Day 7: From C# to ASP.NET Core
medium.com Issue #511
Today was the day I stopped learning just C# and took my first step into backend development.
-
Mastering the Chain of Responsibility Pattern in C#: From Basics to Advanced Scenarios
medium.com Issue #511
Learn how to implement the Chain of Responsibility pattern in C# with practical examples
-
Mastering Dependency Injection in ASP.NET
medium.com Issue #511
Learn Dependency Injection (DI) in ASP.NET Core Web API from scratch with practical examples, lifetime management, interfaces, service…
-
From Keywords to Meaning: Building Semantic Vector Search in .NET
rushikprajapati.medium.com Issue #511
Traditional search finds keywords. Vector Search finds meaning.
-
OpenTelemetry in Microsoft Agent Framework Apps
jesseliberty.com Issue #511
Observability has become a critical component for ensuring the performance and reliability of applications. OpenTelemetry, an open-source observability framework, provides developers with the tools ne...
-
One Tiny C# 14 Feature That Quietly Deletes an Entire if Statement
medium.com Issue #510
I can’t count how many times I’ve written code like this:
-
-
Mastering Extension Methods in C#: Clean Up Your ASP.NET Core Controllers
medium.com Issue #509
When building ASP.NET Core Web APIs, developers often struggle with controller bloat. Controllers can become cluttered with repeated…
-
The Secret Behind .NET Performance: Understanding Garbage Collection Generations (Gen 0, Gen 1 & Gen 2) in C#
c-sharpcorner.com Issue #509
Unlock .NET performance secrets! Understand Garbage Collection generations (Gen 0, Gen 1, Gen 2) and how they optimize memory management in C#.
-
Day 5: Understanding the ‘Why’ Behind C# Features
medium.com Issue #509
Today wasn’t about learning more syntax — it was about understanding why C# is designed the way it is.
-
Domain-Driven Design in C#: A Practical Guide to DDD in .NET
medium.com Issue #509
Learn how to implement Domain-Driven Design in C# and .NET using Entities, Value Objects, Aggregates, Domain Events, Repositories, and…
-
Thread-Safe Collections in C#: Why Dictionary Can Break Under Parallel Execution
medium.com Issue #509
List and Dictionary are probably the collections we use the most in C#.
-
Reduce C# Memory Usage 50x: IAsyncEnumerable Guide
medium.com Issue #509
How switching from ToListAsync() to IAsyncEnumerable cut peak memory 50x in a .NET
-
C# Task Parallel Library (TPL) overview
medium.com Issue #509
TPL is Microsoft’s framework for writing parallel and asynchronous code in .NET. It lives in System.Threading.Tasks and is the foundation…
-
C# 14 New Features Explained with Practical Examples
c-sharpcorner.com Issue #508
Explore C# 14's new features: Extension Members, Collection Expressions, Pattern Matching, Primary Constructors, Null Safety, and .NET integration.