Home Archive The .NET News Daily Issue #331

The .NET News Daily Issue #331

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

Enjoying the newsletter? Your feedback helps us grow and reach more developers.

Share your testimonial →

Today's Articles

Behind the scenes on how Windows 95 application compatibility patched broken programs

https://devblogs.microsoft.com/oldnewthing/20251111-00/?p=111781

Whenever possible, Windows 95 made application compatibility tweaks through things like compatibility flags that alter the behavior of the system for any program the flag was applied to. Using compati...

Article preview

ASP.NET Core — Concept Overview

https://www.c-sharpcorner.com/article/asp-net-core-concept-overview/

Explore ASP.NET Core: a cross-platform framework for building modern web apps, APIs, and microservices. Learn key concepts like MVC, DI, EF Core, and more with practical examples.

Article preview

The Generic Repository Pattern with EF Core — Why It Sucks (and What to Do Instead)

https://medium.com/@michaelmaurice410/the-generic-repository-pattern-with-ef-core-why-it-sucks-and-what-to-do-instead-575cfd1e0872

If you want the full source code, join our community: Here

Article preview

The Simple Way to Understand Unmanaged Resources in .NET

https://medium.com/@ridvan-ozturk/the-simple-way-to-understand-unmanaged-resources-in-net-35509b69046a

Many developers think the Garbage Collector (GC) handles everything in .NET. But that’s not completely true — some things live outside of…

Article preview

📝 The Importance of Documenting Your Code: Why Every Developer Should Do It

https://www.c-sharpcorner.com/article/the-importance-of-documenting-your-code-why-every-developer-should-do-it/

Unlock seamless development! Discover why documenting your code is crucial for team collaboration, faster onboarding, and easier debugging. Learn practical tips!

Article preview

Implementing Distributed Caching with Redis in ASP.NET Core for Scalable Applications

https://www.c-sharpcorner.com/article/implementing-distributed-caching-with-redis-in-asp-net-core-for-scalable-applica/

Boost ASP.NET Core app performance with Redis distributed caching! Learn to set up, configure, and implement caching for scalable, high-traffic applications. Optimize your database workload and improv...

Article preview

Subagents in VS Code

https://www.youtube.com/shorts/_qm5_OBHcUw

Article preview

Building Domain-Driven Design (DDD) APIs in ASP.NET Core

https://www.c-sharpcorner.com/article/building-domain-driven-design-ddd-apis-in-asp-net-core/

Build robust ASP.NET Core APIs with Domain-Driven Design (DDD). Learn to structure your application around the business domain for maintainability and scalability.

Article preview

Composition Over Inheritance: Building Flexible C# Applications

https://www.c-sharpcorner.com/article/composition-over-inheritance-building-flexible-c-sharp-applications/

Master Composition Over Inheritance in C#! Build flexible, maintainable C# applications by favoring 'has-a' over 'is-a' relationships. Real-world examples included!

Article preview

Carbon Aware Computing - Using .NET Open Source libraries for more sustainable applications

https://www.youtube.com/watch?v=IqSzmerSXuk

This talk will show how these patterns can be implemented with Open Source .NET Libraries - on prem, in the cloud with Azure PaaS or in Kubernetes and what options an application has to “shed” the loa...

Article preview

Are C# 14's new features worth updating your app to .NET 10?

https://www.roundthecode.com/dotnet-tutorials/are-c-sharp-14-new-features-worth-updating-app-dotnet-10

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...

Article preview

The Dumb Things in C# and .NET That Still Trip Us Up

https://medium.com/@sweetondonie/the-dumb-things-in-c-and-net-that-still-trip-us-up-c55e7a9c001d

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…

Article preview

Working with Raw SQL in EF Core Without Losing Safety

https://medium.com/@kittikawin_ball/working-with-raw-sql-in-ef-core-without-losing-safety-ca8efca0f163

How to safely execute raw SQL in EF Core using “FromSql”, interpolated queries, and parameter binding to prevent SQL injection.

Article preview

We Can Finally Publish Notifications in Parallel with MediatR (and Not Regret It)

https://medium.com/@michaelmaurice410/we-can-finally-publish-notifications-in-parallel-with-mediatr-and-not-regret-it-7a4f5c1c1258

If you want the full source code, join our community: Here

Article preview

7 More .NET APIs That Microsoft Uses in Production (But You Probably Don’t)

https://medium.com/@mohsho10/7-more-net-apis-that-microsoft-uses-in-production-but-you-probably-dont-4ef423f20329

(…But Microsoft engineers quietly use them everywhere)

Article preview

Rolling Your Own SSO A Practical Guide with OpenIddict

https://www.youtube.com/watch?v=q4NhguFDP5s

Article preview

Exploring C# File-based Apps in .NET 10

https://www.milanjovanovic.tech/blog/exploring-csharp-file-based-apps-in-dotnet-10

With .NET 10, Microsoft introduced file-based apps, which give you the ability to write C# code in a single .cs file and run it directly, without any project or solution files. This feature finally ma...

Article preview

How to Implement Rate Limiting and API Throttling in ASP.NET Core

https://www.c-sharpcorner.com/article/how-to-implement-rate-limiting-and-api-throttling-in-asp-net-core/

Protect your ASP.NET Core APIs with rate limiting! Learn to implement throttling using built-in features, Redis, and best practices for production environments.

Article preview

Understanding the C# Null Propagator Operator (?.)

https://medium.com/@tpointtechblog/understanding-the-c-null-propagator-operator-0787764d2141

In C# development, one of the most common errors programmers face is the NullReferenceException.

Article preview

Efficient Background Task Processing in ASP.NET Core Using Hangfire and Quartz.NET

https://www.c-sharpcorner.com/article/efficient-background-task-processing-in-asp-net-core-using-hangfire-and-quartz-n/

Master background task processing in ASP.NET Core using Hangfire and Quartz.NET. Learn to implement asynchronous tasks, improve performance, and enhance user experience.

Article preview

Modernizing .NET Applications for the Cloud

https://www.youtube.com/watch?v=vrxn-y0tFTI

.NET Aspire 13 — Simplified orchestration for cloud-native apps: https://aka.ms/aspire13/announcement .NET 10 — The most intelligent and unified .NET yet: https://aka.ms/dotnet10/

Article preview

Use TimeSpan Or Specify Units In Duration Properties And Parameters

https://ardalis.com/use-timespan-or-specify-units-in-duration-properties-and-parameters/

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...

Article preview

📬 Get daily .NET content delivered to your inbox