The .NET News Daily Issue #191

.NET News - Daily C# and .NET curated articles from all over the internet.

Feel like sharing?

The .NET News Daily Issue #191

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

Midweek is here, and it feels as satisfying as discovering an elegant one-liner solution for a tangled C# conundrum. This Wednesday edition is packed with .NET insights, from the latest framework tricks you didn’t know you needed to those architectural debates that mimic the epic battles of your favorite sci-fi sagas. Unleash your inner coding Jedi and propel through our carefully curated selection—because even seasoned developers deserve a touch of midweek magic.

Today’s Articles

Memory Leaks in .NET: From Obvious to Tricky Scenarios

https://medium.com/@vikpoca/memory-leaks-in-net-from-obvious-to-tricky-scenarios-ccb6c01d82fc

What could be better than reminding yourself about your program does not have any of those?

10 Hidden Features in .NET 8 You Should Start Using Today

https://medium.com/@venkataramanaguptha/10-hidden-features-in-net-8-you-should-start-using-today-420ff09fbbf0

.NET 8 has officially arrived, and it’s packed with powerful features. But beyond the headline features, there are hidden gems that can…

Deep dive into the upcoming AI-assisted tooling to upgrade .NET apps

You will learn how generative AI agents can help you save time and effort to port hundreds of .NET applications to a modern platform. ‍Microsoft Learn: https://aka.ms/learndotnet

EF Core under the hood: Count() vs Any()

https://ravindradevrani.com/posts/count-vs-any-in-entity-framework-core/

Let’s say you want to execute a code block when Book table is not empty. In Entity Framework Core, we can achieve this in two ways (there… Continue reading on CodeX »

.NET 9 WebAPI + SQL Server — creating and running API tests in Azure DevOps pipeline

https://medium.com/@xeonya/net-9-webapi-sql-server-creating-and-running-api-tests-in-azure-devops-pipeline-4c56ba67eac3

Covering your code with Unit Tests is good, but most often not enough — you need more tests to ensure that your code works right when all…

Dependency Injection in .NET Explained: The Complete Guide

https://medium.com/@jenilsojitra/dependency-injection-in-net-explained-the-complete-guide-305939ce4486

Master dependency injection in .NET with this complete guide.

The Silent Cost of Garbage: How GC Pressure Kills Throughput — Part 1

https://medium.com/@nidhiname/the-silent-cost-of-garbage-how-gc-pressure-kills-throughput-part-1-040a01b09523?source=rss——dotnet-5

Let’s Get Real About GC Pressure

Making Cursor Play Nice with ABP.IO

https://medium.com/@jasenf/making-cursor-play-nice-with-abp-io-066882495b19

I spend a lot of time building projects with abp.io, and have been trying to integrate CursorAI into my development process. One thing…

REST API vs ASP.NET Web API: What’s the Difference?

https://medium.com/@prasannakumarreddy8.gade/rest-api-vs-asp-net-web-api-whats-the-difference-c4da941abc5c

A REST API is an architectural style that defines how two systems communicate over HTTP by using standard methods like GET, POST, PUT and…

Functional stuff in C# | Best way to organize service code

https://medium.com/@denmaklucky/functional-stuff-in-c-best-way-to-organize-service-code-1d5c0290fc8a?source=rss——dotnet-5

By adopting functional stuff, we can structure logic in a more readable and modular way.

The Ultimate Guide to C#’s ‘PriorityQueue’ — What No One Tells You!

https://medium.com/@nagarajvela/the-ultimate-guide-to-c-s-priorityqueue-what-no-one-tells-you-3c0e2f12b24a

Unlock the power of prioritized data in .NET. Continue reading on Level Up Coding »

Modernize from ASP.NET to ASP.NET Core: The Future is Now!

Mastodon: https://aka.ms/dotnet/mastodon LinkedIn: https://aka.ms/dotnet/linkedin

Dapper Micro ORM: A Lightweight Alternative to Stored Procedures

https://medium.com/@dharmikginoya/dapper-micro-orm-a-lightweight-alternative-to-stored-procedures-333163650d19

In the realm of data access in .NET applications, developers often face the choice between using stored procedures or an Object-Relational…

How to Build a High-Performance REST API in ASP.NET Core

https://medium.com/@faysalwrites/how-to-build-a-high-performance-rest-api-in-asp-net-core-764b87e1f3d4?source=rss——dotnet-5

Building a REST API in ASP.NET Core is straightforward. However, building a high-performance REST API — one that can handle thousands of…

How to Restrict Pages using Middleware and PageFilters

https://www.danylkoweb.com/Blog/how-to-restrict-pages-using-middleware-and-pagefilters-UG

By Jonathan “JD” Danylko Today’s quick tip demonstrates how to limit users to a small number of pages Restricting pages to a user on a website can be tricky. There are times when users are…

Storing Event Streams in a Database Using Cosmos DB with C#

https://www.c-sharpcorner.com/article/storing-event-streams-in-a-database-using-cosmos-db-with-c-sharp/

This article covers real-time data ingestion, NoSQL storage design, and integration with event-driven architectures—ideal for developers building scalable and responsive cloud applications with .NET a…

Beyond If-Else: Clean Conditional Logic with C# and Design Patterns

https://medium.com/@vikpoca/beyond-if-else-clean-conditional-logic-with-c-and-design-patterns-07308326e2d1

Encapsulating conditional logic is a powerful design technique in software development.

The Ultimate Guide to Choosing Between IEnumerable, Arrays, and List in C#

https://medium.com/@metoz.florian/the-ultimate-guide-to-choosing-between-ienumerable-t-arrays-and-list-t-in-c-296aa4b5d731

Working with collections is a daily task in C#. But should you grab an IEnumerable<T>, a T[], or a List<T>? Here’s your go‑to cheat sheet.

Bye-Bye Backslashes! Embrace C#’s Raw String Literals Now

https://medium.com/@nagarajvela/bye-bye-backslashes-embrace-c-s-raw-string-literals-now-dcb7740feb24

Simplify your code with clean, readable string literals. Continue reading on Nerd For Tech »

How to manage NuGet packages across multiple repositories

https://medium.com/@denmaklucky/how-to-manage-nuget-packages-across-multiple-repositories-696f99f25a50

If you have a lot of repositories and you’re tired of managing NuGet packages manually, this article shows you how to avoid it.

How to Connect a Database to a Web API in C#

https://medium.com/@voidspidey/ee0d3c63687a

In today’s modern web development landscape, APIs have become an essential tool for building scalable, distributed systems.

Breaking Free: .NET’s Hidden Gem vs MediatR — A Step-by-Step Guide ✨

https://medium.com/@metoz.florian/breaking-free-nets-hidden-gem-vs-mediatr-a-step-by-step-guide-583c5d09baf2

MediatR has long been the go-to library for implementing the Mediator pattern in .NET, providing a simple solution for decoupled…

Subscribe to the .NET Newsletter and never miss another awesome article.

Leave a Reply

Your email address will not be published. Required fields are marked *