languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 7 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 7 of 93
Newest first
-
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.
-
How to Integrate Claude AI with .NET Applications
c-sharpcorner.com Issue #472
Learn how to integrate Claude AI with .NET applications using ASP.NET Core, C#, and Claude API. Build AI chatbots, assistants, and enterprise apps.
-
Give Your .NET MAUI Android Apps a Material 3 Makeover
devblogs.microsoft.com Issue #472
Material 3 (a.k.a. Material You) support is now available for .NET MAUI apps on Android. Here is how to enable it, what changes today, and what is still on the way. The post Give Your .NET MAUI Androi...
-
C# Source Generators: Improving Performance and Reducing Boilerplate Code
c-sharpcorner.com Issue #472
Learn C# Source Generators with practical examples. Discover how compile-time code generation improves performance and reduces boilerplate code in .NET applications.
-
EF Core Auditing Using Interceptors: Step-by-Step Tutorial
c-sharpcorner.com Issue #472
Learn how to implement EF Core auditing using SaveChanges Interceptors. Track CreatedBy, ModifiedBy, timestamps, soft deletes, and user activity with practical examples.
-
Strategy Pattern: Choosing Without Attachment
binaryintellect.net Issue #472
Every application reaches a point where it must make a choice. How should a list be sorted? How should a payment be processed? Which discount should be applied? How should a user be authenticated? The...
-
Creating .NET apps takes forever - then we tried AI
roundthecode.com Issue #472
We gave Claude a vague prompt to build a .NET app - it struggled. Then we added technical documents. The results were dramatically better. Here's what we learned. The page Creating .NET apps takes for...
-
40 Lessons I Learned in 12 Years as a .NET Developer
antondevtips.com Issue #472
After 12 years of building .NET applications, I have learned 40 hard-earned lessons about writing code, designing systems, and shipping software. From clean code and architecture trade-offs to code re
-
When Design Patterns Become Rituals
binaryintellect.net Issue #472
There is a peculiar phenomenon that happens in software teams after they reach a certain size or maturity. Design patterns — those hard-won abstractions distilled from decades of engineering experienc...
-
Reverse Engineering an API in .NET Core – Complete Practical Example
c-sharpcorner.com Issue #472
Master API reverse engineering in .NET Core! Learn to analyze undocumented APIs, recreate functionality, and integrate with systems using practical examples and tools.
-
I Built a Full-Stack Marketplace in 3 Months — Here’s What Actually Happened
medium.com Issue #472
Most portfolio projects look the same. A todo app, a weather dashboard, maybe a blog with a CMS.
-
-
Async and Await in C# for Beginners
c-sharpcorner.com Issue #471
Unlock the power of asynchronous programming in C#! This beginner's guide explains async and await with clear examples, boosting app responsiveness and performance. Learn to handle long-running tasks ...