The .NET News Daily Issue #142

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

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.

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 »

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…

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

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

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

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

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

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

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.

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…

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 »

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.

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.

Practical Samples - Chat with Your Data (RAG)

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

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…

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.

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.

“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…

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 »

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 »

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

The Guide to Dependency Injection in C#

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

What is Dependency Injection (DI)?

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 »

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