The .NET News Daily Issue #165

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

Tuesday has rolled in, and as seasoned .NET pros, we're all about rolling up our sleeves and getting into the nitty-gritty of innovation. Today, let's channel that introspective energy—like a method reflection, it’s time to examine our codebase (and maybe our coffee supply). Our top picks will spark insights, challenge norms, and maybe even inspire you to refactor your favorite project. No fluff, just meaty, meaningful content that will keep your brain ticking between debugging sessions.

Today's Articles

Dependency Injection in ASP.NET Core Explained

https://codewithmukesh.com/blog/dependency-injection-in-aspnet-core-explained/

Dependency Injection (DI) is a foundational concept in ASP.NET Core — and mastering it is key to building clean, testable, and maintainable applications. In this in-depth guide, we’ll break down what ...

Protobuf API template for C#

https://medium.com/@kinneko-de/protobuf-api-template-for-c-d09447c9b892

dotnet templating framework

New LINQ Features in .NET 9

https://www.csharp.com/article/new-linq-features-in-net-9/

Discover the latest LINQ features in .NET 9 that enhance query performance, simplify data manipulation, and introduce new methods for better efficiency.

Building Robust Applications with the Reliable Web App Pattern for .NET

https://levelup.gitconnected.com/building-robust-applications-with-the-reliable-web-app-pattern-for-net-116d660b77f3

The Reliable Web App pattern is a set of architectural guidelines designed to enhance the dependability of web applications. Continue reading on Level Up Coding »

Generics in C#: Stop Writing Repetitive Code Already!

https://medium.com/@nidhiname/generics-in-c-stop-writing-repetitive-code-already-7692fd6aca82

Ever felt like you’re writing the same dang method three times? Once for int, once for double, and hey, why not string too just for the… Continue reading on Level Up Coding »

Mastering Unique Constraints in EF8 & .NET 9: A Complete Guide with Fluent API

https://awstip.com/mastering-unique-constraints-in-ef8-net-9-a-complete-guide-with-fluent-api-81b3e2655ee1

Introduction: Continue reading on AWS Tip »

Solving Problems you wouldn't have if you wouldn't use Entity Framework

https://steven-giesel.com/blogPost/1b432667-3b2d-4c41-8557-b4c3a3c554d9

Long title - short intro? Well - I recently came across my own stupidity and wanted to display that to the world. Basically, how to dynamically selecting a column with Entity Framework.

Enable continuous backup for multi-region write account

https://devblogs.microsoft.com/cosmosdb/enable-continuous-backup-for-multi-region-write-account/

Azure Cosmos DB already delivers 99.999% availability with multi-region write capability and continuous backup for point-in-time restores within a 7 or 30 day retention period. Now, we’re making it ev...

Calling Methods is Easier and Faster with C# 13 Params Collections

https://medium.com/c-sharp-programming/calling-methods-is-easier-and-faster-with-c-13-params-collections-268e58f3fa84

C# 13 introduces params collections, enabling faster and easier method calls with support for multiple collection types. Explore how this… Continue reading on .Net Programming »

SQL DB in Fabric Integrations | Data Exposed

https://www.youtube.com/watch?v=9tNuhcACsMk

Get started with SQL database in Microsoft Fabric: https://learn.microsoft.com/en-us/fabric/database/sql/connect SQL database in Fabric tutorial: https://learn.microsoft.com/en-us/fabric/database/sql...

How can you fix — ASP.NET

https://medium.com/dot-net-sql-learning/how-can-you-fix-asp-net-0e50a7a9a4a4

Timeout exceptions are a common problem in database applications, especially when the amount of data is huge. This blog will discuss what… Continue reading on Dot Net, API & SQL Learning »

Streamlining File Management with Module-Level File Store Approach in .NET

https://medium.com/@nagarajvela/streamlining-file-management-with-module-level-file-store-approach-in-net-a974a558712d

Step-by-Step Guide to Implementing a Module-Level File Store with Code Examples and Practical Insights Continue reading on Level Up Coding »

Evolution of Web Scraping: Insights from John Godel on the Enhanced HtmlFetcher Class

https://www.csharp.com/article/evolution-of-web-scraping-insights-from-john-godel-on-the-enhanced-htmlfetcher/

In the ever-evolving landscape of web development, efficiently retrieving and parsing web data has become crucial. Recently, I had the opportunity to delve into a sophisticated yet efficient C# class ...

Secure Your ASP.NET Core App with hCaptcha: A Step-by-Step Guide

https://mabhishekit.medium.com/hcaptcha-implementation-in-asp-net-core-febc74574996

Here, we will discuss the necessary steps to integrate and consume hCaptcha in our ASP.NET Core application. Continue reading on .Net Programming »

Understanding Middlewares in ASP.NET Core - How ASP.NET Core Processes Incoming Requests

https://codewithmukesh.com/blog/middlewares-in-aspnet-core/

Middleware is a core component of the ASP.NET Core request pipeline, responsible for handling requests and responses efficiently. Understanding how middleware works, its execution order, and best prac...

Hidden C# Debugging Trick That Only 2% of Developers Use!

https://medium.com/@ganesh.s.gurav/hidden-c-debugging-trick-that-only-2-of-developers-use-a743f3e8510a

Debugging complex objects in C# made easy by using…

Delegate in C#

https://medium.com/@payton9609/delegate-in-c-84172b41be9a

Delegates in C# are one of the most powerful yet often misunderstood features of the language. They enable encapsulating method references…

C# Iterators: Rapid Lazy & Async Data Flow

https://medium.com/@nagarajvela/c-iterators-rapid-lazy-async-data-flow-e1b77a1f0b5f

Your Step-by-Step Guide to Using C# Iterators with Practical Examples and Real-World Insights Continue reading on Towards Dev »

The Detailed Execution Pipeline of .NET

https://medium.com/@shreyans_padmani/the-detailed-execution-pipeline-of-net-2aea9cc80474

.NET is a powerful framework that enables developers to build a wide range of applications, from web and desktop to cloud and mobile. To…