C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 7 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 7 of 94
Newest first
-
Three Ways to Handle Multiple Event Types in a Kafka Topic Using .NET, Avro, and Schema Registry
medium.com Issue #477
Sometimes you need to publish multiple event types to the same Kafka topic. While creating one topic per event type is often the simplest…
-
Creating a Simple MCP Server in .NET
pmichaels.net Issue #477
In my previous post, I covered how to interact with a local LLM from .NET using LM Studio. In this post, I’m going to take that a little…
-
Implementing AI Memory Systems in C# Using Vector Databases
c-sharpcorner.com Issue #477
Learn how to implement AI memory systems in C# using vector databases. Discover embeddings, semantic search, memory architectures, and best practices for building intelligent AI applications.
-
Azure Function Apps in C#: Triggers, Bindings, Durable Functions and Everything I Learned in…
medium.com Issue #477
Azure Function Apps are a serverless compute service that runs small focused pieces of C# code in response to events. You write a function…
-
5 Sneaky .NET & EF Core Bugs That Will Crash Your App
c-sharpcorner.com Issue #477
Discover 5 hidden .NET & EF Core bugs causing app crashes, from concurrency issues to silent query filters. Learn how to fix them!
-
Microsoft is tightening restrictions on the use of unsafe code in C# - Techzine Global
news.google.com Issue #476
PENDING REVIEW: MICROSOFT ARTICLE UNRETRIEVABLE (INSUFFICIENT FULL TEXT). Microsoft is tightening restrictions on the use of unsafe code in C# Techzine Global
-
C#: Inheritance vs Composition — When to Use Each and Why AI Can't Decide for You
pietschsoft.com Issue #476
Every C# developer eventually hits this question: should I use inheritance or composition here? And if you ask an AI — or search for articles online — you’ll get the standard answer: “favor compositio...
-
C#: Should This Be a Class, Record, Struct, or Interface?
pietschsoft.com Issue #476
Every time you add a new type to a C# codebase, you face the same quiet decision: class, record, struct, or interface? And once you pick class , a second wave of questions arrives — should it be abstr...
-
Remove Nodes That Have a Greater Value on Their Right in a Linked List
c-sharpcorner.com Issue #476
A linked list problem where nodes are removed if a greater value exists on their right side. The optimal solution uses list reversal and a greedy traversal with a running maximum to achieve O(n) time ...
-
Dynamic LINQ in Production: How I Built Runtime Query Parsing That Doesn’t Suck
medium.com Issue #476
Building secure, performant dynamic LINQ expressions for enterprise applications
-
C# 15 New Features Explained with Practical Examples
c-sharpcorner.com Issue #475
Explore C# 15's new features: enhanced collections, pattern matching, primary constructors, and more for cleaner, productive development.
-
SOLID Principles in C# — Real Enterprise Examples That Actually Make Sense
medium.com Issue #475
Stop memorizing definitions. Start seeing SOLID in the code you write every day.
-
Union Types Are Finally Coming to C#
medium.com Issue #475
C# 15/.NET 11 introduces Union Types for the first time. Get compile-time exhaustive pattern matching & replace old workarounds. Continue reading on .Net Programming »
-
Improving C# Memory Safety
devblogs.microsoft.com Issue #474
The `unsafe` keyword is being redesigned to mark caller-facing contracts rather than just syntax. Safety obligations between callers and callees become visible and reviewable. The model is motivated b...
-
Union Types Are Finally Coming to C#
milanjovanovic.tech Issue #474
For years we faked union types with marker interfaces, base classes, and the OneOf library. C# 15 finally bakes them into the language - and here's a quick tour of what they look like and why I think ...
-
Improving C# memory safety
csharpdigest.net Issue #474
C# 16 is redesigning the unsafe keyword to act as an explicit contract
-
.NET R&D Digest (May, 2026)
olegkarasik.wordpress.com Issue #473
This issue includes bits of AI (too much AI), C#, software development, architecture, Windows, security, NTFS and of course .NET and .NET Internals.
-
In C#, When Should You Use Exceptions, Result Objects, or Validation Errors?
pietschsoft.com Issue #473
Every C# developer eventually runs into this design question, usually right after a perfectly reasonable method starts returning chaos.
-
How to Implement Rate Limiting in ASP.NET Core Applications
c-sharpcorner.com Issue #473
Learn how to implement Rate Limiting in ASP.NET Core applications using built-in middleware. Explore Fixed Window, Sliding Window, and Token Bucket strategies.
-
Blazor Community Standup: E2E Component Testing for Blazor
youtube.com Issue #473
Join us for a first look at a new end-to-end testing library for Blazor, previewing in .NET 11. We’ll cover the motivation behind this new testing approach, demonstrate how it enables reliable testing...
-
On .NET Live: Shaving the outbox pattern yak
youtube.com Issue #473
Everyone's probably already bored of hearing about the transactional outbox pattern, but clearly not enough, as systems continue to crash, and messages continue to be lost. In this session, João Antun...
-
Global Exception Handling in ASP.NET Core - The Complete Guide for .NET 10
codewithmukesh.com Issue #473
Master IExceptionHandler in ASP.NET Core. Complete guide with custom exceptions, handler chaining, Problem Details, and .NET 10's SuppressDiagnosticsCallback.
-
DRY Is the Most Misunderstood Rule in Programming
milanjovanovic.tech Issue #472
DRY was never about code that looks the same. It's about knowledge. Most of the tangled abstractions I've had to unwind started as a well-meaning attempt to remove duplication that was never really du...
-
C# Word Library: Comparing 7 Options for .NET Developers in 2026
c-sharpcorner.com Issue #472
Explore the top 7 C# Word libraries for .NET in 2026. Compare features, licensing, and performance to choose the best option for document generation, parsing, and conversion.
-
IAsyncEnumerable vs IEnumerable in C#: Performance and Use Cases
c-sharpcorner.com Issue #472
Learn the differences between IAsyncEnumerable and IEnumerable in C#. Explore performance, memory usage, async streaming, real-world examples, and best practices.