Span, caching, and microservices in .NET
A mixed issue on performance, architecture, and everyday C# craft: Span, unsafe code, caching, APIs, microservices, and database access patterns.
Jasen's top three picks
- 1 ⚡ Understanding Span and Memory in C#: The Hidden Power Behind Modern High-Performance .NET
mohit8830.medium.com
Great refresher on why Span and Memory matter when allocations start hurting.
- 2 Implement UPSERT – Insert and Update using Fabric Data Pipeline
c-sharpcorner.com
Practical if you’re deciding when unsafe code is worth the tradeoff.
- 3 How to Create a Custom .NET Package and Import It Locally
medium.com
A solid beginner path into APIs without getting lost in framework details.
Editor's note
I pulled together a very mixed lineup this time, from low-level performance work to practical architecture and beginner-friendly C# articles. The Span/memory piece and the caching write-up stood out because they’re the kind of posts that can immediately change how you think about hot-path code. I also like the Dapper + EF Core article for showing a pragmatic data-access blend instead of forcing one tool everywhere.
Today's articles
⚡ Understanding Span and Memory in C#: The Hidden Power Behind Modern High-Performance .NET
mohit8830.medium.com
List<T> = Flexible but slow (heap-based, many allocations) Span<T> = Ultra-fast, stack-based, local memory access Memory<T> = Async-safe…
Topics: C# .NET Core Performance
Read articleImplement UPSERT – Insert and Update using Fabric Data Pipeline
c-sharpcorner.com
Discover how to efficiently implement UPSERT (Update or Insert) operations within Fabric Data Pipelines. This guide provides a practical approach to seamlessly manage data updates and insertions, ensu...
Read articleHow to Create a Custom .NET Package and Import It Locally
medium.com
Creating a custom package is a great way to reuse common code across multiple projects.
Read articleUnsafe Code in C#: When and Why It’s Worth It
medium.com
Discover how unsafe code in .NET lets you trade safety for speed, master pointers, and optimize performance-critical applications.
Topics: C# .NET Core Performance
Read articleUnderstanding API in .NET Core — A Beginner-Friendly Guide with Real-Life Example
c-sharpcorner.com
Unlock the power of APIs in .NET Core with this beginner-friendly guide! Learn to build a simple web API, understand endpoints, and connect frontends to backends using real-world examples like job por...
Topics: ASP.NET Core Minimal APIs Web API
Read article20 Killer C# One-Liners
medium.com
A senior-dev grab bag of 20 practical C# one-liners — guards, LINQ, JSON, async timeouts — each with when to use and pitfalls. Copy, paste… Continue reading on Programming Letters »
Topics: C# Performance
Read articleExtension Methods in C#: Write Cleaner, Smarter, and More Reusable Code
rahulyadav9053.medium.com
Make your C# code more expressive and readable by using extension methods — the hidden gem behind LINQ and fluent APIs. Learn how to use…
Topics: C# Design Patterns
Read articleHow .NET Code Works Behind the Scenes: Explained for Beginners
medium.com
Ever wondered what really happens when you hit “Run” in a .NET app?
Read article.Net Yarp ile API Gateway Entegrasyonu
medium.com
Merhabalar, Bu yazımda .Net Yarp ile API Gateway entegrasyonu gerçekleştireceğiz. İlk olarak API Gateway ve Yarp(Yet Another Reverse…
Topics: ASP.NET Core REST API
Read articleMicroservices in .NET Core: A Beginner-Friendly Guide
c-sharpcorner.com
Unlock the power of microservices in .NET Core with this beginner-friendly guide! Learn how to build scalable, maintainable, and resilient applications by breaking them down into independent services....
Topics: ASP.NET Core Design Patterns .NET Core
Read articleAdvanced OOP Features in C#: Beyond the Four Pillars
medium.com
When I first learned the four OOP pillars — encapsulation, inheritance, polymorphism, and abstraction — I thought I had unlocked the…
Topics: C# Design Patterns
Read articleHow the lock Keyword Works in C#: Thread Safety Demystified
medium.com
Understand how the C# lock keyword prevents race conditions, how it works internally, and when to use advanced synchronization methods.
Topics: C# Performance
Read article.NET AI Community Standup - Getting Started with the Microsoft Agent Framework
youtube.com
Thread Safety in .NET: Avoiding Race Conditions and Deadlocks
Read articleYour .NET App Doesn’t Need a Database on the Hot Path — Meet the Local Caching Revolution
medium.com
How hybrid in-memory + distributed caching patterns are quietly replacing database round-trips in real-world .NET systems. Continue reading on ILLUMINATION’S MIRROR »
Topics: .NET Core Performance Redis
Read article.NET Debug vs Release Mode: The Complete Developer’s Guide
medium.com
Unlock the secrets of .NET compilation modes and supercharge your development workflow
Topics: .NET Core Performance
Read articleMaster Static, Sealed, and Constructors in C# — Learn with a Real Bank Story
medium.com
A beginner-friendly guide to understanding the most confusing C# keywords through a fun and realistic Bank example.
Topics: C# Design Patterns
Read articleC# Channel Mastery: Advanced Patterns for Async Pros
blog.stackademic.com
Part 5 in a beginner-friendly guide to thread-safe async messaging in .NET Continue reading on Stackademic »
Topics: C# Performance
Read articleDapper + Entity Framework Core (EF Core) together against PostgreSQL in .NET 8
c-sharpcorner.com
Combine the power of Entity Framework Core (EF Core) for schema management and Dapper for raw SQL performance in .NET 8 with PostgreSQL. This guide explores two approaches: using EF Core for CRUD and ...
Topics: Dapper EF Core PostgreSQL
Read article