languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 3 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 3 of 103
Newest first
-
EF Core navigation property returning null? Here's why
roundthecode.com Issue #536
Find out why your EF Core navigation property come back as null. Learn how Include() fixes it, when you need it, and the pitfalls to watch for.
-
💻 Issue 530 - The Stack Nobody Picks Might Be the One That Picks You
dotnet.libhunt.com Issue #536
-
PostgreSQL 19 WAIT FOR LSN: Solving Read-Your-Writes Consistency in .NET
c-sharpcorner.com Issue #535
Learn how PostgreSQL 19 WAIT FOR LSN helps solve read-your-writes consistency in .NET applications using logical replication, WAL positions, and controlled database reads.
-
I Tried Extracting Tables from PDFs in C# — Here’s Where It Breaks
adityamangal98.medium.com Issue #535
By Aditya Mangal — Senior AI Engineer. Every result here was produced on my own Windows laptop, .NET 10, no cloud services.
-
Meet Your Claw: A Harness in Three Lines of C#
youtube.com Issue #535
One call to AsHarnessAgent gives us the whole agentic loop. From there we add the first three abilities: a custom get_stock_price tool, the built-in web search for market news, and planning with a tod...
-
Read Excel Files in C#: Cells, Ranges, Images, and Charts
medium.com Issue #535
Reading Excel files is a common task in .NET applications. Sometimes you only need to get the value of a single cell. In other cases, you…
-
Ever Accidentally Written a C# Fork Bomb?
medium.com Issue #535
We’ve all seen standard background worker patterns where a main process manages or kicks off a worker routine. But if you aren’t careful…
-
Polymorphic Dependency Injection in .NET: The Complete Guide
medium.com Issue #535
Registering several implementations of one interface is easy. Injecting the correct implementation into each consumer — without service…
-
Microsoft.Data.SqlClient Retry Logic: Building Resilient .NET SQL Server Applications
c-sharpcorner.com Issue #535
Learn how to use Microsoft.Data.SqlClient retry logic in .NET to handle transient SQL Server connection failures, improve application resilience, and build reliable database applications.
-
Every Locking Primitive in C# — And When to Actually Use Each One
medium.com Issue #535
For a long time, I used only one tool whenever I saw concurrency problems.
-
C# 15 Closed Hierarchies: Comparing Exhaustive Pattern Matching with Traditional Polymorphism
c-sharpcorner.com Issue #534
Compare C# 15 closed hierarchies and exhaustive pattern matching with traditional polymorphism, including type safety, maintainability, and performance.
-
The Best Guide On The Internet To Know About The Top 5 C# Projects - Simplilearn.com
simplilearn.com Issue #534
The Best Guide On The Internet To Know About The Top 5 C# Projects Simplilearn.com
-
Building your own MCP server
youtube.com Issue #533
The Model Context Protocol (MCP) is all the rage and rightly so. As the USB-C for AI, it is an incredibly powerful tool that acts as a bridge between real-world systems and LLMs. But how do you get st...
-
AI Agents vs LLMs: What’s the Difference and When Should Developers Use Each?
c-sharpcorner.com Issue #533
Understand the difference between LLMs and AI agents with practical C# and .NET examples covering tool calling, memory, state, agent loops, RAG, guardrails, and enterprise AI architecture.
-
Grand Larceny Auto: Manually Unpacking a ConfuserEx-Protected .NET/Godot CTF Challenge
medium.com Issue #533
A hands-on walkthrough of defeating rename obfuscation, control-flow flattening, caller-bound string encryption, and a logic bug in a…
-
CoPilot Harness and Microsoft Agent Framework
jesseliberty.com Issue #533
Our friends at Microsoft have paired our development tool (CoPilot) with Microsoft Agent Framework. This powerful combination allows developers to create intelligent agents that can automate tasks, en...
-
What Actually Happens When You Use async and await in .NET?
malshikay.medium.com Issue #533
If you work with .NET, you have probably written code like this:
-
PostgreSQL 19 SQL/PGQ: Building Property Graph Queries with .NET
c-sharpcorner.com Issue #533
Learn how PostgreSQL 19 SQL/PGQ enables property graph queries and explore how .NET applications can model relationships, traverse graphs, and query connected data.
-
How to Set Excel Cell Background in C# (Solid, Texture, and Gradient)
medium.com Issue #533
Are you looking to make your Excel reports more visually appealing and easier to interpret? Whether you need to highlight critical KPIs…
-
Diving in OOP (Polymorphism and Inheritance – Part 5): All About Properties in C#
c-sharpcorner.com Issue #532
Learn C# properties from fundamentals to modern syntax, including get, set, backing fields, auto-properties, init, required, abstract properties, inheritance, and C# 14 field keyword.
-
LAZY in C#.
medium.com Issue #532
“Lazy loading” in C# generally means delaying the creation/initialization of an object until the moment it’s actually needed, rather than… Continue reading on SilentTech »
-
What Is the Difference Between String and string in C#?
medium.com Issue #532
At first glance, these two C# declarations may look different:
-
C# 15 Unsafe Model: Auditing Existing Native Interop Code for .NET 11
c-sharpcorner.com Issue #532
Learn how to audit existing C# native interop and unsafe code for C# 15 and .NET 11, focusing on compatibility, safety, migration risks, and best practices.
-
What's the coolest thing coming in the next version of C#?
youtube.com Issue #531
Union types. Mads Torgersen explains how C# will let you model a closed set of unrelated types, create union values from them, and switch over them in a fully strongly typed way. It lands in C# 15 thi...
-
Unions are here | Union types in C#
medium.com Issue #531
.NET 11 is finally getting union types. If you’re interested in what they’re worth or what’s wrong with them, let’s go under the hood.