languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 39 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 39 of 99
Newest first
-
TUnit — Why I Spent 2 Years Building a New .NET Testing Framework
medium.com Issue #333
I started building TUnit around two years ago. For those who have followed the journey, you’ll be glad to see the recent release of…
-
DTOs, ViewModel and Domain Model in C#
medium.com Issue #332
DTOs, ViewModels, and Domain Models each play a unique role in clean and maintainable architecture. They help separate business logic, UI…
-
Method Chaining vs Fluent Approach in C#
dotnetfullstackdev.medium.com Issue #332
A Deep, Story-Driven Explanation That Finally Makes the Difference Clear
-
Corporate Boondoggles: Lumber Apocalypse and Linear Programming, C# Comes in Clutch
medium.com Issue #332
boon·dog·gle: work or activity that is wasteful or pointless but gives the appearance of having value.
-
Avoid These Common LINQ Mistakes: First(), FirstOrDefault(), Single(), SingleOrDefault() Explained
medium.com Issue #332
When working with LINQ in C#, developers constantly reach for First(), FirstOrDefault(), Single(), or SingleOrDefault(). But despite…
-
Interpolated Verbatim Strings ($@””) ve Raw String Literals (“””)
medium.com Issue #332
Write Faster SQL Queries With Dapper in .NET 9 | Clean Architecture With Full Codes
-
.NET CancellationToken Deep Dive
medium.com Issue #332
CancellationToken হলো .NET-এর একটি mechanism যা asynchronous বা long-running task গুলোর cancel / abort করার সুযোগ দেয়
-
📝 The Importance of Documenting Your Code: Why Every Developer Should Do It
c-sharpcorner.com Issue #331
Unlock seamless development! Discover why documenting your code is crucial for team collaboration, faster onboarding, and easier debugging. Learn practical tips!
-
Subagents in VS Code
youtube.com Issue #331
Building Domain-Driven Design (DDD) APIs in ASP.NET Core
-
Composition Over Inheritance: Building Flexible C# Applications
c-sharpcorner.com Issue #331
Master Composition Over Inheritance in C#! Build flexible, maintainable C# applications by favoring 'has-a' over 'is-a' relationships. Real-world examples included!
-
Are C# 14's new features worth updating your app to .NET 10?
roundthecode.com Issue #331
Discover the new features in C# 14 - from extension members to the field keyword - and find out whether upgrading your app to .NET 10 is really worth it. The page Are C# 14's new features worth updati...
-
The Dumb Things in C# and .NET That Still Trip Us Up
medium.com Issue #331
C# is one of the most loved languages in the developer world. It’s elegant, powerful, and blessed with an ecosystem that’s mature and…
-
We Can Finally Publish Notifications in Parallel with MediatR (and Not Regret It)
medium.com Issue #331
If you want the full source code, join our community: Here
-
7 More .NET APIs That Microsoft Uses in Production (But You Probably Don’t)
medium.com Issue #331
(…But Microsoft engineers quietly use them everywhere)
-
Understanding the C# Null Propagator Operator (?.)
medium.com Issue #331
In C# development, one of the most common errors programmers face is the NullReferenceException.
-
Use TimeSpan Or Specify Units In Duration Properties And Parameters
ardalis.com Issue #331
A special case of primitive obsession is the use of an int value to describe a span of time. You see this all the time in various APIs, and it’s a frequent source of bugs and confusion. Developers are...
-
Simplifying .NET with 'dotnet run file.cs'
youtube.com Issue #330
Learn how this feature enables quick experimentation, simplifies scripting scenarios, and makes .NET more approachable for beginners and scripts. .NET is becoming more accessible than ever with new fe...
-
Building Once, Deploying Everywhere: C# Cross-Platform with .NET MAUI and the Competition
systemweakness.com Issue #330
Note from the Author: I’m delighted to share this article, which serves as a powerful follow-up to my 2023 piece, “The future of… Continue reading on System Weakness »
-
Stop Blaming Copilot — Start Coding for the Age of AI
medium.com Issue #330
(Why Copilot, Gemini, and Codeium keep giving you wrong code — and what you can do about it)
-
The Magic of Extension Methods in C#: Write Cleaner, Flexible Code
medium.com Issue #330
If you’ve ever found yourself writing “helper functions” in C# — like UserHelper.IsValid(user) or DateUtils.ToReadableTime()—you've…
-
Old API, New Tricks: Add MCP to Existing .NET REST Endpoints
youtube.com Issue #330
In this session, we’ll explore how to breathe new life into your existing ASP.NET Web API endpoints built with ASP.NET CORE by adding Model Creation Protocol (MCP) capabilities to them. .NET 10 — The ...
-
Task vs ValueTask in C#
medium.com Issue #330
Asynchronous programming is a core part of modern .NET applications. But when it comes to performance-sensitive code, developers often…
-
Understanding Mutability in Data Types
c-sharpcorner.com Issue #330
Unlock the secrets of mutability in C#! Learn the key differences between mutable and immutable data types, their impact on performance, and best use cases. Master C# data types!
-
C#: Demystifying Value Types, Reference Types, and the Null That Haunts Your Dreams
medium.com Issue #330
Have you ever changed one variable in your C# code only to discover another variable — one you haven’t touched — changed out of pure spite…
-
Stop Reinventing the Wheel: These .NET Packages Work Smarter, So You Don’t Have To
medium.com Issue #329
A new round of underrated C# tools that quietly do the heavy lifting. Continue reading on Stackademic »