The .NET News Daily Issue #146

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

Wednesday's here, cruising in like a well-oiled classic car, ready to race through the spotlight of middle-week innovation. As seasoned .NET enthusiasts, let's navigate these intriguing updates and fuel our coding engines with practical insights and quirky wisdom. Today’s mix is sure to rev up your creativity and keep your development journey on the fast track!

Today's Articles

5 C# And .NET Tips & Tricks — February 2025

https://medium.com/@kenslearningcurve/5-c-and-net-tips-tricks-february-2025-b70a49775978

The second month of the new year is almost over, and it’s time for another 5 C# and .NET Tips & Tricks!

C# Null Safety: Write Robust and Error-Free Code

https://medium.com/@nagarajvela/c-null-safety-write-robust-and-error-free-code-72ad127fff41

Learn Practical Techniques to Enhance Your Application’s Reliability with C# Null Safety Features Continue reading on Towards Dev »

Idempotency in ASP.NET - How to make a resilient application

https://medium.com/@denmaklucky/idempotency-in-asp-net-how-to-make-a-resilient-application-1a56c0a5b734

Idempotency ensures that clients can safely retry requests, guaranteeing that the server will return a identical and valid response

MongoDB as .NET Configuration Provider

https://medium.com/@vosarat1995/mongodb-as-net-configuration-provider-a7dabd5bb847

Building Custom Configuration Provider to Read Configuration from MongoDB in an ASP .NET Core App.

Dependency Management with NuGet Central Package Management

https://www.csharp.com/blogs/dependency-management-with-nuget-central-package-management

Managing dependencies in .NET projects can be challenging, but NuGet Central Package Management (CPM) simplifies the process by centralizing package versions across multiple projects.

Mastering ASP.NET Core with Minimal APIs & CQRS -Part 05: CQRS & Mediator — Class Structure

https://sasangaedirisinghe.medium.com/mastering-asp-net-core-with-minimal-apis-cqrs-part-05-cqrs-mediator-class-structure-381f4929bad3

CQRS Architectural Pattern

The Ultimate Guide to MVC, MVP, MVVM, MVVM-C, and VIPER Architecture Patterns

https://medium.com/@ashokreddy343/the-ultimate-guide-to-mvc-mvp-mvvm-mvvm-c-and-viper-architecture-patterns-bf416e6dc070

Introduction Continue reading on Towards Dev »

Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

https://visualstudiomagazine.com/Articles/2025/02/20/VS-Code-Insiders-Creates-Web-Page-from-Image-in-Seconds.aspx

New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

Next Edit Suggestions for GitHub Copilot in action

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

ASP.NET Core Minimal APIs: Filter Strategies

https://medium.com/@FitoMAD/asp-net-core-minimal-apis-filter-strategies-def68712da73

Unlock the power of ASP.NET Core Minimal APIs with advanced filtering techniques for cleaner, more efficient code.

Introduction to Dapr for .NET Developers

https://www.milanjovanovic.tech/blog/introduction-to-dapr-for-dotnet-developers

Explore how Dapr helps .NET developers build better microservices with standardized building blocks, practical code examples, and seamless integration with .NET Aspire to simplify your distributed sys...

Introduction to .NET Aspire

https://visualstudiomagazine.com/Articles/2025/02/19/Introduction-to-NET-Aspire.aspx

Two Microsoft experts will present on the cloud-native application stack designed to simplify the development of distributed systems in .NET at the Visual Studio Live! developer conference coming to L...

Boost SQL Server Performance with Memory-Optimized Tables

https://www.csharp.com/article/boost-sql-server-performance-with-memory-optimized-tables/

Memory-optimized table variables in SQL Server provide a powerful way to enhance query performance by leveraging In-Memory OLTP. Unlike traditional table variables, they reduce disk I/O and improve ex...

EF Core 8 & .NET 9 Raw SQL Queries: The Ultimate Guide to Unmapped Types

https://medium.com/@ashokreddy343/ef-core-8-net-9-raw-sql-queries-the-ultimate-guide-to-unmapped-types-1837b225afe2

Entity Framework Core (EF Core) is a widely used ORM (Object-Relational Mapper) for .NET developers. It simplifies database interactions… Continue reading on AWS Tip »

.NET in 2025

https://medium.com/@riturajpokhriyal/net-in-2025-922ec88d358a

The Silent Revolution Senior Engineers Can’t Ignore

Dotnet build: Conditionally generate your swagger file

https://medium.com/@woeterman_94/dotnet-build-conditionally-generate-your-swagger-file-46a8796d5783

So I have a PostBuild target in my project’s csproj file. This PostBuild event will generate a swagger build each time the project is…

Go passwordless when calling Azure OpenAI from Azure SQL using Managed Identities

https://devblogs.microsoft.com/azure-sql/go-passwordless-when-calling-azure-openai-from-azure-sql-using-managed-identities/

Security is a significant topic today, and the ability to access a service requiring authentication without using an API key, password, or secret is a common request from those concerned about the sec...

Microsoft .NET Code Analysis: Optimizing JSON Serialization with Cached Options

https://dotnettips.wordpress.com/2025/02/26/microsoft-net-code-analysis-optimizing-json-serialization-with-cached-options/

XML has been replaced by JSON as the primary serialization format. Using the JsonSerializer in .NET offers performance advantages, particularly when caching JsonSerializerOptions. This method enhances...

10 Essential Development Tips for ASP.NET Core

https://www.csharp.com/article/10-essential-development-tips-for-asp-net-core/

Discover 10 essential development tips for ASP.NET Core that will help you build efficient, scalable, and maintainable web applications.