languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 6 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 6 of 106
Newest first
-
Union types? No, discriminated union
Medium Issue #538
Union types bring an elegant way to work with code, but there are also some disadvantages. If you’re interested in how we can improve it…
-
Adding Properties with extension methods in C# 14
Steven Giesel Issue #538
Thanks to @toupswork for starting a funny discussion about extension properties on a recent post I made: "Adding static getter thanks to extensions" . Therefore let's discuss two ridiculous ideas to a...
-
Your Coding Agent Isn’t Reading Your Code. It’s Hunting For It.
Medium Issue #537
And in a layered C# codebase, that hunt is where most of your context window goes.
-
JSON Schema Annotation Support for .NET Validator
blog.devgenius.io Issue #537
JSON Schema is usually introduced as a validation technology: given a schema and a JSON document, a validator tells you whether the… Continue reading on Dev Genius »
-
How to Manage Application Settings Using the Options Pattern in .NET
Medium Issue #537
Application settings are used in almost every application. Things like API URLs, connection strings, feature flags, timeout values, and…
-
The Bug That Only Shows Up Under Load: A Backend Engineer’s Guide to Concurrency
publication.masteringbackend.com Issue #537
Concurrency Will Break Your System Quietly — Here’s How to Avoid That Continue reading on MasteringBackend »
-
IEnumrable and IQueryable in c#
C# Corner Issue #537
Learn the difference between IEnumerable and IQueryable in C# with simple examples. Understand how LINQ queries are executed, how Entity Framework Core translates IQueryable queries into SQL, and why ...
-
How to Secure an Email Attachment Intake Service in C#
Medium Issue #536
Email attachment intake applications tend to move content quickly from inbox to storage, document processing, or other automated workflows.
-
Stop Caching Everything: The Grey Logic Behind High-Performance Applications
Medium Issue #536
Performance tuning is often approached with a simple mindset:
-
Numerics.NET with Jeffrey Sax
.NET Rocks! Issue #536
So what can numerics do for you? Carl and Richard talk to Jeffrey Sax about his work building Numerics.NET, a collection of general-purpose mathematical and statistical classes built for .NET. Jeffrey...
-
3D MonoGame Camera & Directional Light
Medium Issue #536
Are you looking at starting a new 3D project using MonoGame? This Camera is a part of my Star-Lite framework. Our Camera3D has, so far…
-
How to Run Local ONNX Models in C#: Building an Offline AI Image Processor on Windows
Medium Issue #536
If you are developing desktop utilities or working with computer vision tasks on Windows, relying on external cloud APIs for things like…
-
GitHub Copilot Customize Tab: Managing MCP Servers, Plugins, Skills, and Canvases
C# Corner Issue #536
Learn how GitHub Copilot's Customize tab manages MCP servers, plugins, skills, and canvases to extend AI coding workflows and customize enterprise developer experiences.
-
EF Core navigation property returning null? Here's why
Round The Code 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
Awesome .NET Weekly Issue #536
-
PostgreSQL 19 WAIT FOR LSN: Solving Read-Your-Writes Consistency in .NET
C# Corner 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
Medium 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 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 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 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 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# Corner 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 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# Corner 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