ASP.NET Core, EF Core, and .NET 10 notes
A varied .NET roundup covering ASP.NET Core basics, EF Core pitfalls, Redis caching, MediatR notifications, .NET 10, and cloud modernization.
Jasen's top three picks
- 1 Behind the scenes on how Windows 95 application compatibility patched broken programs
devblogs.microsoft.com
A fun look at how Windows 95 patched compatibility without breaking everything else.
- 2 ASP.NET Core — Concept Overview
c-sharpcorner.com
A solid ASP.NET Core overview that’s useful for newer developers and as a refresher.
- 3 The Generic Repository Pattern with EF Core — Why It Sucks (and What to Do Instead)
medium.com
A sharp critique of the generic repository pattern, with better EF Core alternatives.
Editor's note
I curated a pretty wide mix this time, from old-school Windows compatibility internals to newer .NET 10 and Aspire talk. The EF Core repository critique and the MediatR parallel notifications piece stood out because they challenge habits many of us have used for years. I also liked the Redis caching and rate limiting articles for the practical production angle.
Today's articles
Behind the scenes on how Windows 95 application compatibility patched broken programs
devblogs.microsoft.com
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...
Topics: .NET Framework Security
Read articleASP.NET Core — Concept Overview
c-sharpcorner.com
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.
Topics: ASP.NET Core .NET Core Web API
Read articleThe Generic Repository Pattern with EF Core — Why It Sucks (and What to Do Instead)
medium.com
If you want the full source code, join our community: Here
Topics: Clean Architecture Design Patterns EF Core
Read articleThe Simple Way to Understand Unmanaged Resources in .NET
medium.com
Many developers think the Garbage Collector (GC) handles everything in .NET. But that’s not completely true — some things live outside of…
Topics: .NET Core Performance
Read article📝 The Importance of Documenting Your Code: Why Every Developer Should Do It
c-sharpcorner.com
Unlock seamless development! Discover why documenting your code is crucial for team collaboration, faster onboarding, and easier debugging. Learn practical tips!
Read articleImplementing Distributed Caching with Redis in ASP.NET Core for Scalable Applications
c-sharpcorner.com
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...
Topics: ASP.NET Core Performance Redis
Read articleSubagents in VS Code
youtube.com
Building Domain-Driven Design (DDD) APIs in ASP.NET Core
Topics: C# Visual Studio Code
Read articleComposition Over Inheritance: Building Flexible C# Applications
c-sharpcorner.com
Master Composition Over Inheritance in C#! Build flexible, maintainable C# applications by favoring 'has-a' over 'is-a' relationships. Real-world examples included!
Topics: C# Design Patterns Solid Principles
Read articleCarbon Aware Computing - Using .NET Open Source libraries for more sustainable applications
youtube.com
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...
Topics: Azure Kubernetes Performance
Read articleAre C# 14's new features worth updating your app to .NET 10?
roundthecode.com
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...
Read articleThe Dumb Things in C# and .NET That Still Trip Us Up
medium.com
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…
Read articleWorking with Raw SQL in EF Core Without Losing Safety
medium.com
How to safely execute raw SQL in EF Core using “FromSql”, interpolated queries, and parameter binding to prevent SQL injection.
Topics: EF Core Security SQL Server
Read articleWe Can Finally Publish Notifications in Parallel with MediatR (and Not Regret It)
medium.com
If you want the full source code, join our community: Here
Read article7 More .NET APIs That Microsoft Uses in Production (But You Probably Don’t)
medium.com
(…But Microsoft engineers quietly use them everywhere)
Read articleRolling Your Own SSO A Practical Guide with OpenIddict
youtube.com
Exploring C# File-based Apps in .NET 10
Topics: Authentication OAuth Security
Read articleHow to Implement Rate Limiting and API Throttling in ASP.NET Core
c-sharpcorner.com
Protect your ASP.NET Core APIs with rate limiting! Learn to implement throttling using built-in features, Redis, and best practices for production environments.
Topics: ASP.NET Core Redis Security
Read articleUnderstanding the C# Null Propagator Operator (?.)
medium.com
In C# development, one of the most common errors programmers face is the NullReferenceException.
Read articleEfficient Background Task Processing in ASP.NET Core Using Hangfire and Quartz.NET
c-sharpcorner.com
Master background task processing in ASP.NET Core using Hangfire and Quartz.NET. Learn to implement asynchronous tasks, improve performance, and enhance user experience.
Topics: ASP.NET Core Performance
Read articleModernizing .NET Applications for the Cloud
youtube.com
.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/
Topics: .NET Aspire Azure .NET 10
Read articleUse TimeSpan Or Specify Units In Duration Properties And Parameters
ardalis.com
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...
Topics: C# Design Patterns
Read article