C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 6 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 6 of 94
Newest first
-
How I Fixed a Production Crash Caused by Duplicate Keys in C#
medium.com Issue #481
A few weeks ago, an ASP.NET application suddenly started failing in production. The strange part was that everything worked perfectly in…
-
Learning Playwright with C#: My Journey Implementing a DI-Driven Test Framework
medium.com Issue #481
Following Karthik KK’s Playwright course, I rebuilt a DI-driven automation framework and documented the lessons I learned along the way.
-
LINQ in C#: All(), Any(), and Contains():Expressing Domain Truth in C#
medium.com Issue #481
Quantifiers, Membership, and Domain Truth
-
Building a Tool-Calling AI Agent in C# with .NET, SQLite, and Llama 4
medium.com Issue #481
Exploring AI tool calling, agent loops, and real-world AI integration using C# and .NET.
-
5 Hidden .NET Features Most Developers Still Aren’t Using (With Practical Examples)
blog.gopenai.com Issue #480
When people talk about .NET, they usually focus on the big announcements — new C# syntax, performance improvements, or the latest… Continue reading on GoPenAI »
-
Integrating AI with .NET Using the Official MCP C# SDK v1.0
medium.com Issue #480
From .NET Services to AI-Callable Tools — A Practical Guide Continue reading on Simform Engineering »
-
Design Patterns in C# — Real Enterprise Examples That Actually Work in Production
medium.com Issue #480
Stop memorising UML diagrams. Start seeing patterns in the code you write every day.
-
How to Programmatically Extract Text from a PDF using C# and a .NET PDF API
mesciusinc.medium.com Issue #480
PDFs are great for preserving document layout, but extracting usable text from them can be a different story. Whether you are building a…
-
Five Modern C# Features Every .NET Developer Should Know
c-sharpcorner.com Issue #480
Master modern C# features like primary constructors, field keyword, records, pattern matching, and required members for cleaner .NET development.
-
Stop Wasting CPU Cycles: Where vs. TakeWhile in LINQ
medium.com Issue #480
We have all been there: you are writing a LINQ query to filter a collection, and your fingers automatically type .Where(). It’s muscle…
-
-
The Most Expensive 4 Lines of C# I’ve Ever Seen
medium.com Issue #480
Six hours of downtime. 38,000 lost orders. Every dashboard green the entire time.
-
Migrating Agentic Code Python -> C# Part 4
jesseliberty.com Issue #480
In the previous blog post we looked at the Blogger (orchestrator) code in C#. Let’s move on to some of the other agents. The Blogger invokes the Researcher, so let’s go there next. The Researcher clas...
-
Lock in C# 13 — Replacing lock(obj) with Something Better
medium.com Issue #479
We have used lock(object) for nearly 20 years. C# 13 doesn’t remove it. It just gives us something more intentional to reach for instead.
-
Microsoft Extends Rust-Influenced Memory-Safety Push to C# - Visual Studio Magazine
news.google.com Issue #479
PENDING REVIEW: MICROSOFT ARTICLE UNRETRIEVABLE (INSUFFICIENT FULL TEXT). Microsoft Extends Rust-Influenced Memory-Safety Push to C# Visual Studio Magazine
-
Structured Outputs in LLM Applications: A Complete C# Developer Guide
c-sharpcorner.com Issue #479
Learn how to implement structured outputs in C# AI applications. Discover schema validation, strongly typed models, JSON responses, and best practices for building reliable enterprise LLM solutions.
-
How to Build Offline AI Applications in .NET Without Cloud Dependencies
c-sharpcorner.com Issue #478
Build offline AI apps in .NET without cloud. Leverage local models like Phi & tools like Ollama for privacy, cost savings, and faster responses.
-
C# 15 New Features and Improvements Developers Need to Explore
c-sharpcorner.com Issue #478
Explore C# 15's new features: primary constructors, collection expressions, pattern matching, async enhancements, and more. Boost productivity and code quality!
-
C#: How to Refactor Legacy Code Safely
pietschsoft.com Issue #478
Legacy C# code is usually not dangerous because it is old. It is dangerous because you do not fully know which parts are stable, which parts are accidentally correct, and which parts are one small cha...
-
How to Build Custom MCP Servers in C# for Enterprise AI Applications
c-sharpcorner.com Issue #478
Learn how to build custom MCP servers in C# for enterprise AI applications. Discover MCP architecture, security best practices, tool development, authentication, and real-world integration patterns.
-
Mastering LINQ: Extracting Distinct, Sorted Lists from a DataTable
medium.com Issue #478
Working with DataTable objects in C# is a daily reality for many .NET developers, but extracting clean, unique, and ordered data often…
-
ASP.NET Core with C#: A Complete Introduction and Practical Example
c-sharpcorner.com Issue #478
Discover the fundamentals of ASP.NET Core and C# in this beginner-friendly guide. This article explains the key features of ASP.NET Core, including its cross-platform capabilities, high performance, a...
-
.NET at Microsoft Build 2026: Must watch sessions
devblogs.microsoft.com Issue #478
Catch up on all the .NET sessions from Microsoft Build 2026 covering .NET 11, union types in C#, AI building blocks, the agentic web, .NET MAUI, and more! The post .NET at Microsoft Build 2026: Must w...
-
How to Integrate a RESTful SMM Panel API using C# and HttpClient
c-sharpcorner.com Issue #478
Learn how to automate digital marketing operations by integrating a RESTful SMM Panel API using C# and HttpClient. This step-by-step tutorial covers connecting to SMM Bear, a leading Indian SMM panel,...
-
Removing byte array allocations using ReadOnlySpan
csharpdigest.net Issue #477
no matter which version of .NET you're targeting