The .NET News Daily Issue #279

Your Daily Dose of .NET Insights, Tools, and Trends

Welcome to Monday, where we rev up like a classic Mustang hitting the open road, fueled by a fresh tank of .NET insights. Just as seasoned developers know the thrill of discovering a new shortcut or feature, today's lineup promises to keep your engines running smoothly with innovative articles and updates. So buckle up, and let's accelerate your coding week with precision and energy.

Today's Articles

IEnumerable vs IQueryable in C#: The Key Differences

https://medium.com/@sudhisudhi0834/ienumerable-vs-iqueryable-in-c-the-key-differences-a0642f3b63ac

If you’ve been coding in C# for a while, you’ve probably bumped into IEnumerable and IQueryable.

The Hidden Performance Traps in C# You’re Probably Ignoring

https://medium.com/@orbens/the-hidden-performance-traps-in-c-youre-probably-ignoring-8d7c24f5519a

C# and the .NET runtime provide a modern, safe, and powerful development platform. However, performance pitfalls are everywhere — even in…

How I Built a Private ChatGPT That Knows Everything About My Company

https://ai.plainenglish.io/how-i-built-a-private-chatgpt-that-knows-everything-about-my-company-d73c80cab2c5

We will be creating Local Chat GPT for organization which will answer smartly based on internal data of organization Continue reading on Artificial Intelligence in Plain English »

From JavaScript to C#: A Developer’s Guide to Transitioning from JavaScript to C# and .NET

https://javascript.plainenglish.io/from-javascript-to-c-a-developers-guide-to-transitioning-from-javascript-to-c-and-net-788b18159e00

As a JavaScript developer, you might be used to dynamic typing, flexible syntax, and event-driven programming. However, what happens when… Continue reading on JavaScript in Plain English »

Why You Should Care About C#’s ‘Nullable Reference Types’

https://medium.com/coinmonks/why-you-should-care-about-c-s-nullable-reference-types-5c8d13ab16ef

and How They Help Prevent Null-Related Errors Continue reading on Coinmonks »

Secure File Access in .NET Core: Avoiding Leaks and Protecting Sensitive Data

https://medium.com/c-sharp-programming/secure-file-access-in-net-core-avoiding-leaks-and-protecting-sensitive-data-2ef03330a19c

Secure your .NET Core apps by mastering file access controls, secrets management, and leak prevention. Continue reading on .Net Programming »

The Practical .NET Guide to AI & LLM: Introduction

https://medium.com/@roxeems/the-practical-net-guide-to-ai-llm-introduction-2225b82684c6

Model-agnostic guide to integrating LLMs in .NET — patterns, DI, provider abstraction, and security best practices.

Understanding OWASP Top 10 with Real-World .NET Examples

https://www.c-sharpcorner.com/article/understanding-owasp-top-10-with-real-world-net-examples/

Secure your .NET applications by understanding and mitigating the OWASP Top 10 vulnerabilities! This article provides practical ASP.NET Core MVC & Web API examples demonstrating common security ri...

Dependency Injection (DI) in .NET Core

https://medium.com/easydotnet/dependency-injection-di-in-net-core-ac1323ef4e41

For example : Continue reading on easydotnet »

Partial View vs ViewComponent in ASP.NET MVC/Core – A Complete Guide

https://www.c-sharpcorner.com/article/partial-view-vs-viewcomponent-in-asp-net-mvccore-a-complete-guide/

Unlock the secrets of Partial Views and ViewComponents in ASP.NET MVC/Core! This guide dives deep into their differences, exploring usage, performance, and best-use cases. Learn when to use each for o...

Top 5 Logging Frameworks for .NET Developers

https://malshikay.medium.com/top-5-logging-frameworks-for-net-developers-20c4b4d9b73e

Best logging tools for .NET developers

Why ValueTask Can Save You from Async Overhead

https://mariemoalla.medium.com/why-valuetask-can-save-you-from-async-overhead-e820b70f9d0e

Asynchronous programming in C# is built on top of the Task and async/await model. For most scenarios, using Task is perfectly fine. But if…

Address Resolution Protocol (ARP) in Networking: How It Works

https://www.c-sharpcorner.com/article/address-resolution-protocol-arp-in-networking-how-it-works/

Unlock the secrets of ARP (Address Resolution Protocol)! This guide explains how ARP translates IP addresses to MAC addresses, enabling seamless communication on local networks. Learn about ARP reques...

Best Practices for Configuration and Secrets Management in .NET

https://medium.com/@kittikawin_ball/best-practices-for-configuration-and-secrets-management-in-net-719da96ba4a9

How to Securely Store and Access App Settings in ASP.NET Core?

Bridging the Gap: A Professional Solution for Hosting a Web Server in .NET MAUI

https://medium.com/@lucafabbri84/bridging-the-gap-a-professional-solution-for-hosting-a-web-server-in-net-maui-e38cda953662

For years, a critical gap has existed within Microsoft’s cross-platform strategy. While frameworks like Flutter thrive with rich…

The $2,000 Line of C# I Shouldn’t Have Written

https://towardsdev.com/the-2-000-line-of-c-i-shouldnt-have-written-35ad4ef0b8e4

Why This Blog Matters Continue reading on Towards Dev »

How To Optimize EF Core Query Performance With Compiled Queries

https://medium.com/@michaelmaurice410/how-to-optimize-ef-core-query-performance-with-compiled-queries-a50537f3695e

Entity Framework Core’s compiled queries are one of the most underutilized performance optimization features available to .NET developers…

The case of the crash on a null pointer even though we checked it for null

https://devblogs.microsoft.com/oldnewthing/20250905-00/?p=111560

A colleague was investigating a crash. The stack at the point of the crash looks like this: contoso!winrt::impl::consume_Windows_Foundation_Collections_IVectorView< winrt::Windows::Foundation::Coll...

Introduction To Building Distributed Applications with Microsoft Orleans

https://learn-code-learn.medium.com/introduction-to-building-distributed-applications-with-microsoft-orleans-d57d2e5044f7

Microsoft Orleans (also known as Orleans .NET) is a cross-platform framework that helps developers build distributed, scalable, and…

One Trick To Improve EF Core Performance Using Query Splitting

https://medium.com/@michaelmaurice410/one-trick-to-improve-ef-core-performance-using-query-splitting-17133e04a7a5

If you want the full source code, download it from this link: https://www.elitesolutions.shop/

Data Seeding in ASP.NET Core the Right Way

https://medium.com/@samsondavidoff/data-seeding-in-asp-net-core-the-right-way-4c7c1f4b1773

Data seeding is the secret sauce that turns empty databases into playgrounds for testing and development.

What is the difference between linear and non-linear data structures?

https://www.c-sharpcorner.com/article/what-is-the-difference-between-linear-and-non-linear-data-structures/

Unlock the power of Data Structures and Algorithms (DSA) by understanding the core difference between linear and non-linear data structures. This guide breaks down the sequential nature of arrays, lin...

Using and authoring .NET tools

https://andrewlock.net/using-and-authoring-dotnet-tools/

In this post I describe some of the complexities around authoring .NET tools, specifically around supporting multiple .NET runtimes and testing in CI