languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 6 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 6 of 93
Newest first
-
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
-
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.