Home Archive C# language features and ASP.NET Core caching – .NET News Daily Issue #158 (Mar 21, 2025)

Editor's note

I put together a mixed issue this time: language features, web app patterns, security, and a bit of AI. The HybridCache GA post is especially useful if you’re tuning ASP.NET Core caching, and the GitHub Actions plus Azure deployment piece is a solid practical companion.

C# language features and ASP.NET Core caching

As the weekend revs its engines, Friday comes rolling in like a classic Mustang with a full tank—ready to take you on an exhilarating ride through the latest in .NET advancements. Whether you're tinkering with legacy code or mapping out the future in microservices, we’ve bundled up a treasure trove of insights and hacks. Get ready to discover what's under the hood of the .NET world, and let these curated bytes inspire your next code session before kicking back.

Today's Articles

Interpolated Strings with Formatting: Craft Cleaner C# Output

https://medium.com/@nagarajvela/interpolated-strings-with-formatting-craft-cleaner-c-output-0a94526530fe

A Practical Guide to Mastering Interpolated Strings with Formatting in C#

Exploring Next-Gen Web Apps with .NET

https://medium.com/tools-trips/exploring-next-gen-web-apps-with-net-7147988ce241

Step into the evolution of web development with .NET , where next-generation web apps push the boundaries of speed, scalability, and… Continue reading on Tech Tools »

Hello HybridCache! Streamlining Cache Management for ASP.NET Core Applications

https://devblogs.microsoft.com/dotnet/hybrid-cache-is-now-ga/

HybridCache is now GA, use today The post Hello HybridCache! Streamlining Cache Management for ASP.NET Core Applications appeared first on .NET Blog.

Streamlining .NET 9 Deployment With GitHub Actions and Azure

https://www.milanjovanovic.tech/blog/streamlining-dotnet-9-deployment-with-github-actions-and-azure

Continuous Deployment (CD) is an extension of Continuous Delivery where every change that passes automated tests is deployed to production automatically After implementing CI/CD pipelines for dozens ...

Rate Limiting in .Net

https://medium.com/@samanazadi1996/rate-limiting-in-net-513e88e3d49f

Introduction

Secure Coding in .NET 9: Advanced Techniques for Modern Developers

https://medium.com/@Adem_Korkmaz/secure-coding-in-net-9-advanced-techniques-for-modern-developers-9c826cf9f18b

The next time you write a line of code, ask yourself: Is this secure? Continue reading on DevOps.dev »

Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

https://laurentkempe.com/2025/03/15/harnessing-ai-in-csharp-with-microsoftextensionsai-ollama-and-mcp-server/

In the previous post "Leveraging Microsoft.Extensions.AI for Tool Calling in C#", we explored how to create custom tools that enhance the capabilities of Large Language Models (LLMs). We dem...

Understanding Select vs SelectMany in LINQ

https://jaykrishnareddy.medium.com/understanding-select-vs-selectmany-in-linq-ed3d81bf6615

LINQ (Language Integrated Query) is a powerful feature in .NET that allows developers to query collections of data in a streamlined and…

Better Error Handling in C# with Result Types

https://medium.com/@elijah.koulaxis/better-error-handling-in-c-with-result-types-8c89951a9285?source=rss------dotnet-5

Exceptions are slow, cumbersome, and often result in unexpected behavior. Even the official Microsoft documentation recommends limiting…

How to Upload File from Blazor WebAssembly to WebAPI

https://juldhais.net/how-to-upload-file-from-blazor-webassembly-to-webapi-7b67f597ab61

In this article, we will learn how to upload files using the InputFile component in Blazor WebAssembly. We will also set up a controller…

1.2 Setting Up Your Godot C# Game Development Environment

https://medium.com/game-development-with-godot-and-c/1-2-setting-up-your-godot-c-game-development-environment-194b416954cf

In the previous article of this series, I briefly introduced the Godot game engine and C#. Now it’s time to set up the environment. Continue reading on Game Development with Godot and C# »

Do you know the Difference between ref, out, and in parameters in C#

https://medium.com/c-sharp-programming/do-you-know-the-difference-between-ref-out-and-in-parameters-in-c-486cec1353b7

C# programming is a modern and versatile programming language that provides various facilities to developers to work accurately and… Continue reading on .Net Programming »

C# With-Expressions: Effortless Immutable Updates

https://medium.com/@nagarajvela/c-with-expressions-effortless-immutable-updates-6fe6422dc5a8

A Practical Guide to Mastering C# With-Expressions for Immutable Objects Continue reading on .Net Programming »

How to Create a .NET WebAPI in Just 10 Minutes for Beginners

https://medium.com/@hasanmcse/how-to-create-a-net-webapi-in-just-10-minutes-for-beginners-2e69ae21106e

It reinforces the article’s focus on novices, highlights the .NET tech stack, and emphasizes the quick 10-minute timeline, enhancing…

Is Async/Await the Final Answer? A Look at C#’s Wild Ride Through Concurrency !!

https://medium.com/@_sachinsachdeva/is-async-await-the-final-answer-a-look-at-c-s-wild-ride-through-concurrency-43600475ff34

Concurrency in C# .NET has evolved significantly over the last two decades. From the early days of Thread to modern async/await and Task…

Jasen's take on today's picks

Interpolated Strings with Formatting: Craft Cleaner C# Output

A clean reminder that interpolated strings can stay readable even when formatting gets more precise.

Exploring Next-Gen Web Apps with .NET

A broad look at where .NET web apps are headed, with enough context to spark architecture conversations.

Hello HybridCache! Streamlining Cache Management for ASP.NET Core Applications

HybridCache GA is the kind of platform update I like seeing: practical, immediately useful, and aimed at real ASP.NET Core workloads.

Streamlining .NET 9 Deployment With GitHub Actions and Azure

A good deployment walkthrough if you’re shipping .NET 9 to Azure and want GitHub Actions doing the heavy lifting.

Rate Limiting in .Net

Rate limiting is one of those topics that matters more once traffic or abuse shows up, so this is timely.

Secure Coding in .NET 9: Advanced Techniques for Modern Developers

Security guidance for .NET 9 is always worth a read when it focuses on modern developer habits, not just checklists.

Harnessing AI in C# with Microsoft.Extensions.AI, Ollama, and MCP Server

Nice to see Microsoft.Extensions.AI, Ollama, and MCP Server brought together in C# with a concrete integration story.

Understanding Select vs SelectMany in LINQ

A useful LINQ refresher that helps avoid subtle bugs when moving between single items and flattened sequences.

Better Error Handling in C# with Result Types

Result types remain a strong alternative when you want explicit error handling without leaning on exceptions for control flow.

How to Upload File from Blazor WebAssembly to WebAPI

Blazor WebAssembly file uploads to WebAPI are the sort of end-to-end example many teams need in real projects.

1.2 Setting Up Your Godot C# Game Development Environment

Godot C# setup content is niche, but it’s helpful for developers exploring game tooling with familiar .NET skills.

Do you know the Difference between ref, out, and in parameters in C#

ref, out, and in still trip people up, so a clear comparison never goes out of style.

C# With-Expressions: Effortless Immutable Updates

With-expressions keep immutable updates pleasant, which is exactly why they’re worth revisiting.

How to Create a .NET WebAPI in Just 10 Minutes for Beginners

A beginner-friendly WebAPI walkthrough for anyone still getting comfortable with the basics of ASP.NET Core.

Is Async/Await the Final Answer? A Look at C#’s Wild Ride Through Concurrency !!

Async and await may feel settled, but it’s healthy to revisit the concurrency tradeoffs behind them.

Related issues

📬 Get daily .NET content delivered to your inbox