C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 2 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 2 of 94
Newest first
-
IQueryable vs IEnumerable: The Mistake That Loads Your Whole Table
medium.com Issue #497
You wrote a clean LINQ query. It filters down to ten rows. It runs fine in dev, and then in production it’s slow and your database CPU is…
-
What I wish I knew 10 years ago when I started with C#
medium.com Issue #496
A 3-step roadmap to avoid getting lost in the chaos of modern frameworks, and what the senior community has to say about it.
-
Bypassing the .NET GC: How I Hit 2.3 Million OPS With a C#-Native Embedded Database
medium.com Issue #496
DataVo v0.1 Alpha: an open-source, zero-allocation SQL + vector engine that runs in-process, no native extensions required.
-
Extension Methods: Why They Exist and How They Evolved
medium.com Issue #496
Core definition
-
The Complete .NET 11 Developers Guide to the Agentic Web Part 2
medium.com Issue #495
We’re going to pick up from part 1 and delve into the Microsoft Agent Framework. Continue reading on Data Science Collective »
-
Agent Skills for .NET Is Now Released
devblogs.microsoft.com Issue #495
You can now give your .NET agents reusable packages of domain expertise - instructions, reference documents, and scripts they load only when a task needs them - through a stable, production-ready API....
-
AWS Bedrock with .NET: Cost Tracking via Inference Profiles
medium.com Issue #495
The Problem: Your AI Bill Grew, But You Cannot Explain It
-
Microsoft Agent Framework for .NET (part 1): what it is, how it works, and when to use it
code4it.dev Issue #495
Microsoft Agent Framework is Microsoft’s production-oriented framework for building AI agents and multi-agent workflows in .NET and Python. Let’s see how it works, why Microsoft created it...
-
Full-stack static typing with OpenAPI TypeScript and Microsoft.AspNetCore.OpenApi
johnnyreilly.com Issue #494
This post will show you how to write full stack applications with static typing from back to front using OpenAPI, TypeScript and .NET.
-
Building a Flexible C# Rules Engine: Design Patterns and Best Practices
snehasishkonger.medium.com Issue #494
Most teams end up here for one of two reasons. Either there’s already a big C#/.NET codebase and someone’s tired of if-else logic bleeding…
-
Heap vs Stack in C#: The Biggest Misconception Every Beginner Learns
wiemksaier.medium.com Issue #494
If you’ve been learning C#, you’ve probably heard this:
-
-
Modern C# Features: A Deep Dive into Records, Pattern Matching, Async, and Performance
medium.com Issue #494
A practical guide to the C# language features that have reshaped how we write .NET code — records, pattern matching, async/await…
-
From Student to Software Engineer: What I Wish I Knew Before Learning DotNet
medium.com Issue #494
Most people don’t struggle with learning DotNet because it’s difficult. They struggle because they learn it in the wrong order.
-
Async/Await Pitfalls in C#: The Bugs That Compile Fine and Break in Production
c-sharpcorner.com Issue #494
Master C# async/await: Avoid hidden bugs like async void, deadlocks, and forgotten awaits that compile but break in production.
-
Exploring C# 15: Union Types, Collection Expressions, and Closed Hierarchies
c-sharpcorner.com Issue #494
Explore C# 15's Union Types, Closed Hierarchies, and Collection Expressions for enhanced type safety and code readability.
-
Encapsulate LINQ with Extension Methods
medium.com Issue #493
LINQ is powerful and makes life easier for us developers. However, LINQ queries can unfortunately create significant coupling to the…
-
I Taught Claude Code to Stop Breaking My .NET Projects
medium.com Issue #493
How a small plugin called DotnetPilot turned “AI wrote code that compiles” into “AI wrote code that actually belongs in a .NET solution”
-
The IDisposable and using Truth Most of Us Missed in C#
medium.com Issue #493
We all write using every day. Very few of us stop to think about what it actually does.
-
12 C# OOP Concepts Every .NET Developer Must Know
medium.com Issue #493
When developers begin learning C#, one of the first things they hear is:
-
DRY Principle in C#: Don't Repeat Yourself - A Practical Guide With Real Code Examples
c-sharpcorner.com Issue #493
Master the DRY principle in C#: avoid duplicating knowledge, not just code. Learn practical examples and common pitfalls for robust software.
-
params IEnumerable : The Upgrade to params You Didn’t Know You Needed
medium.com Issue #492
The Old Constraint
-
Specification Pattern in C#
ngcheehou.medium.com Issue #492
Imagine you are a developer responsible for maintaining an HR employee portal. This is the Employee class:
-
Extension Members in C# 14: The Feature That’ll Start the Next “Is This Clean Code?” War
medium.com Issue #492
It lets you bolt a property onto a type you don’t own. Half my team called it elegant. The other half called it cursed. They’re both right.
-
I Deleted AutoMapper a Year Before It Went Commercial. Here’s the Bug That Made Me Do It.
medium.com Issue #492
A NullReferenceException, 14 frames deep into a library I’d never opened. The actual bug was one missing line.