Home Archive Azure, EF Core, and Roslyn – .NET News Daily Issue #142 (Feb 27, 2025)

Editor's note

I put together another mixed bag today: cloud automation, performance tuning, tooling, and a few practical architecture pieces. The EF Core 9 performance article and the Roslyn analyzer walkthrough stood out because they go straight to code quality and runtime cost.

Azure, EF Core, and Roslyn

On this fabulous Thursday, picture yourself as a .NET mechanic, skillfully tuning the engine of your latest project, ready to rev up and hit the high-speed lane of innovation. This week's lineup is your toolset—robust, efficient, and crafted to tackle any coding hiccups with finesse. Let's hone your expertise and fuel your passion for seamless, high-performance solutions, ensuring that your software journey is anything but mundane. Buckle up, because today’s newsletter is set to turbocharge your development skills!

Today's Articles

Automate Prompt Flow Creation in Amazon Bedrock Using .NET

https://www.csharp.com/article/automate-prompt-flow-creation-in-amazon-bedrock-using-net/

In this article, you’ll learn how to automate the creation of a flow with a single prompt in Amazon Bedrock using the .NET console application.

Article preview

Create an anti-idle App for Microsoft Teams with .NET

https://schwabencode.com/blog/2025/02/17/dotnet-anti-idle-microsoft-teams

Create an anti-idle App for Microsoft Teams with .NET Continue reading on Medialesson »

Article preview

StringBuilder vs StringConcatenation

https://medium.com/@Sina-Riyahi/stringbuilder-vs-stringconcatenation-d69fbebf81fe

🔎 Explanation of String Concatenation in C# 💡 In C#, strings are immutable, meaning once a string object is created, it cannot be…

Article preview

Building the Future: Modern Web App Patterns with Azure

https://www.csharp.com/blogs/building-the-future-modern-web-app-patterns-with-azure

In the ever-evolving landscape of web development, creating scalable, efficient, and secure applications has become critical for businesses. Azure's Modern Web App Pattern provides developers with a c...

Article preview

Multi-Tenant: Database Per Tenant or Shared?

https://codeopinion.com/multi-tenant-database-per-tenant-or-shared/

When building a multi-tenant application, one of the first decisions revolves around data management: Should you use a shared database or a database per tenant? YouTube Check out my YouTube channel, w...

Article preview

What is my favorite VS Code feature for C# development?

https://www.youtube.com/watch?v=tqtOE-rSIYI

Article preview

Entity Framework Core 9: Ultimate Performance Tuning & Best Practice

https://www.csharp.com/article/entity-framework-core-9-ultimate-performance-tuning-best-practice/

Entity Framework is a versatile and powerful ORM, but its performance depends on how it’s used. By following these best practices and leveraging the new features in .NET 9, you can build high-performa...

Article preview

Announcing .NET Community Toolkit 8.4

https://www.csharp.com/blogs/net-community-toolkit-84

The .NET Community Toolkit has officially released version 8.4, introducing significant updates and improvements. The latest release includes support for partial properties in the MVVM Toolkit generat...

Article preview

Custom function query support in JsonQuery.Net

https://medium.com/@lateapexearlyspeed/custom-function-query-support-in-jsonquery-net-f0848b1cc252

JsonQuery.Net implemented json query language for .net. Now it also supports user-defined functions.

Article preview

Microsoft makes mistakes too. Let’s check MSBuild

https://unicorn-dev.medium.com/microsoft-makes-mistakes-too-lets-check-msbuild-108df742af24

MSBuild is an automated application building platform by Microsoft that is used to compile, package, and deploy applications. The project…

Article preview

How to Add a Context Menu to .NET MAUI ListView?

https://www.syncfusion.com/blogs/post/context-menu-in-dotnet-maui-listview

This blog explains how to implement a context menu in the .NET MAUI ListView control with code examples. Continue reading on Syncfusion »

Article preview

C# .NET — Global Exception Handler with MediatR

https://medium.com/@gabrieletronchin/c-net-global-exception-handler-with-mediatr-3ca9aeb3d812

Global exception handler for MediatR using a pipeline behavior to log and manage errors consistently across all requests.

Article preview

Creating Roslyn Analyzers

https://nickkell.medium.com/creating-roslyn-analyzers-a48f2b8318a9

It’s surprisingly easy to harness dotnet’s metaprogramming capabilities, since the compiler has been made available as a service.

Article preview

Practical Samples - Chat with Your Data (RAG)

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

Article preview

Mastering .NET Memory Management: A Deep Technical Dive with Best Practices

https://medium.com/@damithw/mastering-net-memory-management-a-deep-technical-dive-with-best-practices-6f9558f0f42e

Efficient memory management is crucial for building high-performance .NET applications. While the Garbage Collector (GC) takes care of…

Article preview

Mastering Large-Scale Application Development with .NET & Angular — Part 1: Laying the Foundation

https://medium.com/@ImAnandPanchal/mastering-large-scale-application-development-with-net-angular-part-1-laying-the-foundation-57ab9d6940a9

Welcome to the first part of our series on building large-scale applications using .NET and Angular.

Article preview

IEnumerable vs IEnumerator in C#: One is 2x Faster - LinkedIn Edition

https://steven-giesel.com/blogPost/b705be3e-8d80-4de1-aefb-29c9262c49b7

During my recent browsing on LinkedIn I saw that question: IEnumerable vs IEnumerator in C#: One is 2x Faster – Which One? Naturally, I was very suspicious. So let's find out what is going on here.

Article preview

“Introduction to Middleware in API Development.”

https://medium.com/@naveethannaveethan13/introduction-to-middleware-in-api-development-75e8f9169464

Middleware is a crucial component in API development, particularly in ASP.NET Core, where it acts as an intermediary between HTTP requests…

Article preview

How To Deploy .NET Application to Azure using Neon Postgres and .NET Aspire

https://antondevtips.com/blog/how-to-deploy-dotnet-application-to-azure-using-neon-postgres-and-dotnet-aspire

How to deploy your .NET Web API application to Azure using .NET Aspire. For the database, we will be using a Neon Serverless Postgres Continue reading on CodeX »

Article preview

When Not to Use async/await in .NET: Avoid These Common Pitfalls

https://medium.com/@ashokreddy343/when-not-to-use-async-await-in-net-avoid-these-common-pitfalls-b0ceec3dd4a7

Introduction Continue reading on Towards Dev »

Article preview

Scheduling Background Jobs in ASP.NET Core Using Quartz.NET

https://www.csharp.com/article/scheduling-background-jobs-in-asp-net-core-using-quartz-net/

Quartz.NET is a powerful and flexible job scheduling library that seamlessly integrates with ASP.NET Core. It enables developers to automate background tasks, schedule recurring jobs, and manage workf...

Article preview

The Guide to Dependency Injection in C#

https://medium.com/@tyschenk20/the-guide-to-dependency-injection-in-c-5fff46b16f52

What is Dependency Injection (DI)?

Article preview

C# Spread Operator: Concise Code, Maximum Impact!

https://medium.com/@nagarajvela/c-spread-operator-concise-code-maximum-impact-2906d947deec

Simplify Your Code and Boost Productivity with the Power of the Spread Operator Continue reading on Towards Dev »

Article preview

C# 14: Null-conditional assignment

https://steven-giesel.com/blogPost/b6d22649-7fba-488b-b252-31efdb3686c5

The preview 1 of dotnet 10, and therefore the next iteration of the C# language, is right in front of our doorsteps. So let's have a look at one of the first potential additions to the language: Null-...

Article preview

Jasen's take on today's picks

Automate Prompt Flow Creation in Amazon Bedrock Using .NET

Shows how to automate Bedrock prompt flows from .NET, which is a nice fit for teams wiring AI into existing services.

Create an anti-idle App for Microsoft Teams with .NET

A practical Teams anti-idle app with .NET—small problem, real-world usefulness, and very buildable.

StringBuilder vs StringConcatenation

A straightforward comparison that reminds us string handling still matters when you care about allocations.

Building the Future: Modern Web App Patterns with Azure

Modern Azure web app patterns are always worth a look, especially if you’re shaping new application foundations.

Multi-Tenant: Database Per Tenant or Shared?

A solid multi-tenant discussion that helps you choose between isolation and operational simplicity.

What is my favorite VS Code feature for C# development?

A VS Code feature pick for C# development is always useful if you live in the editor all day.

Entity Framework Core 9: Ultimate Performance Tuning & Best Practice

EF Core 9 tuning advice should save time for anyone chasing throughput or lower database overhead.

Announcing .NET Community Toolkit 8.4

The .NET Community Toolkit 8.4 release matters for apps leaning on MVVM and reusable helpers.

Custom function query support in JsonQuery.Net

Custom query functions for JsonQuery.Net open up some interesting JSON filtering scenarios.

Microsoft makes mistakes too. Let’s check MSBuild

A reminder that MSBuild has rough edges too, and sometimes the best fix starts with understanding the build itself.

How to Add a Context Menu to .NET MAUI ListView?

MAUI context menus are a practical UI detail that improves desktop-like mobile experiences.

C# .NET — Global Exception Handler with MediatR

Global exception handling with MediatR is a clean way to centralize cross-cutting behavior.

Creating Roslyn Analyzers

Roslyn analyzers are a strong tool when you want rules enforced by the compiler, not code review.

Practical Samples - Chat with Your Data (RAG)

RAG samples help show how chat-with-your-data flows come together in practice.

Mastering .NET Memory Management: A Deep Technical Dive with Best Practices

Memory management guidance is always worth reading when you need to reason about GC pressure.

Mastering Large-Scale Application Development with .NET & Angular — Part 1: Laying the Foundation

Large-scale .NET plus Angular architecture is a bigger-picture piece for teams building long-lived products.

IEnumerable vs IEnumerator in C#: One is 2x Faster - LinkedIn Edition

IEnumerable versus IEnumerator performance differences are a good reminder that abstractions have costs.

“Introduction to Middleware in API Development.”

Middleware basics are useful whether you’re new to ASP.NET Core or tightening an existing API pipeline.

How To Deploy .NET Application to Azure using Neon Postgres and .NET Aspire

Deploying .NET to Azure with Neon Postgres and Aspire is a modern stack combo worth watching.

When Not to Use async/await in .NET: Avoid These Common Pitfalls

The async/await pitfalls article is a good sanity check for avoiding unnecessary asynchrony.

Scheduling Background Jobs in ASP.NET Core Using Quartz.NET

Quartz.NET scheduling is still a dependable option for background jobs in ASP.NET Core.

The Guide to Dependency Injection in C#

Dependency injection fundamentals never really stop being relevant in C# codebases.

C# Spread Operator: Concise Code, Maximum Impact!

The spread operator piece is about expressive syntax, but readability still has to win.

C# 14: Null-conditional assignment

C# 14 null-conditional assignment is a small language addition that can reduce boilerplate significantly.

Related issues

📬 Get daily .NET content delivered to your inbox