languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 46 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 46 of 106
Newest first
-
DTOs, ViewModel and Domain Model in C#
Medium 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#
Medium 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 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 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 Issue #332
Write Faster SQL Queries With Dapper in .NET 9 | Clean Architecture With Full Codes
-
.NET CancellationToken Deep Dive
Medium Issue #332
CancellationToken হলো .NET-এর একটি mechanism যা asynchronous বা long-running task গুলোর cancel / abort করার সুযোগ দেয়
-
📝 The Importance of Documenting Your Code: Why Every Developer Should Do It
C# Corner Issue #331
Unlock seamless development! Discover why documenting your code is crucial for team collaboration, faster onboarding, and easier debugging. Learn practical tips!
-
-
Composition Over Inheritance: Building Flexible C# Applications
C# Corner 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?
Round The Code 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 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 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 Issue #331
(…But Microsoft engineers quietly use them everywhere)
-
Understanding the C# Null Propagator Operator (?.)
Medium 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 on Ardalis (Steve Smith) 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 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 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 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 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 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# Corner 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 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 Issue #329
A new round of underrated C# tools that quietly do the heavy lifting. Continue reading on Stackademic »
-
.NET 10 & C# 14 Just Rewrote the Rulebook — 17 Features That Will Change How You Code Forever
blog.stackademic.com Issue #329
From file-based apps to EF Core’s JSON magic and Blazor’s WASM power-ups — discover the upgrades that will reshape API design… Continue reading on Stackademic »