Home Archive JSON serializers, MAUI, and EF Core pitfalls – .NET News Daily Issue #135 (Feb 18, 2025)

Editor's note

I curated a mixed lineup this issue, with practical guidance alongside a few broader ecosystem pieces. The serializer comparison and the EF Core distinct/orderby warning are especially useful because they can prevent real production mistakes.

JSON serializers, MAUI, and EF Core pitfalls

Ah, Tuesday—the thinking developer’s oasis. As you sip on a well-brewed cup of knowledge, let’s navigate through today’s .NET landscape like a classic road trip in your favorite vintage car: smooth, scenic, and refreshingly insightful. This isn't just about the landmarks; it's about those hidden gems that'll make your code shine. So, buckle up and prepare to uncover paths that only the seasoned traveler can truly appreciate.

Today's Articles

Newtonsoft.Json vs. System.Text.Json: Picking the Right JSON Serializer for Your .NET Project

https://towardsdev.com/newtonsoft-json-vs-system-text-json-picking-the-right-json-serializer-for-your-net-project-b3f373eb06a3

Performance and Features and Use Cases Compared to Settle on the Optimal JSON Serializer. Continue reading on Towards Dev »

Article preview

Why .NET MAUI is the Future of App Development

https://www.csharp.com/blogs/why-net-maui-is-the-future-of-app-development

.NET MAUI simplifies cross-platform app development with a single project structure, shared codebase, and support for Android, iOS, Windows, and macOS. Build modern apps using XAML, C#, and native API...

Article preview

ADO.NET vs Entity Framework: Understanding the Differences

https://www.csharp.com/article/ado-net-vs-entity-framework-understanding-the-differences/

This article compares ADO.NET and Entity Framework (EF), two popular data access technologies in .NET. It explores their differences in performance, data manipulation, and development approaches like ...

Article preview

Boosting Performance with Lazy Loading in C# .NET Core

https://www.csharp.com/article/boosting-performance-with-lazy-loading-in-c-sharp-net-core/

Learn how to boost performance in C# .NET Core applications using lazy loading. This technique defers object initialization until needed, optimizing memory usage and improving load times.

Article preview

GraphQL Explained

https://medium.com/@Sina-Riyahi/graphql-explained-fcef8111aa79

🔎What is GraphQL? 💡GraphQL is a query language for APIs that allows clients to request data in a flexible way. It was developed by…

Article preview

Understanding the Override Function in C#

https://www.csharp.com/article/understanding-the-override-function-in-c-sharp/

The override keyword in C# allows a derived class to modify or extend a method defined in a base class. It supports polymorphism, inheritance, and encapsulation, enabling flexible and reusable code wi...

Article preview

The Hidden Cost of String Parameters

https://medium.com/@andrespino.95/the-hidden-cost-of-string-parameters-e47519e618ed

How Lazy Evaluation Can Save Performance

Article preview

Optimize Your C# Code: Using Benchmark.NET to Identify Performance Bottlenecks

https://medium.com/@nagarajvela/optimize-your-c-code-using-benchmark-net-to-identify-performance-bottlenecks-2e70de3628ff

Identify and Resolve Performance Bottlenecks with Precision Using Benchmark.NET Continue reading on Towards Dev »

Article preview

Role of Delegates in C# Programming

https://www.csharp.com/blogs/role-of-delegates-in-c-sharp-programming

Delegates in C# allow encapsulating methods, promoting loose coupling, and enabling dynamic method invocation. They are type-safe, flexible, and essential for event handling and callback methods in mo...

Article preview

Safe Access to Nullable Properties

https://medium.com/@Sina-Riyahi/safe-access-to-nullable-properties-5e5ca3b6d113

🔎 Explanation of Safe Access Operator 💡 In the context of object initializers, the safe access operator (?.) can be used to simplify the…

Article preview

Announcing Generative AI for Beginners – .NET

https://devblogs.microsoft.com/dotnet/announcing-generative-ai-for-beginners-dotnet/

Introducing a new practical course designed for the .NET community to explore the world of Generative AI. The post Announcing Generative AI for Beginners – .NET appeared first on .NET Blog.

Article preview

Microsoft .NET Ecosystem

https://blog.stackademic.com/microsoft-net-ecosystem-9144695bf94d

When we consider the .NET development, you may hear lot of keywords coming with it like .NET framework, NET Core, C#, etc. If you are new… Continue reading on Stackademic »

Article preview

Be Careful Using Distinct and OrderBy in EF Core Queries

https://www.csharp.com/article/be-careful-when-combining-distinct-and-orderby-in-ef-core/

Combining Distinct() and OrderBy() in EF Core queries can lead to performance issues. This article explains why and offers solutions for efficient data retrieval.

Article preview

Running C# Jobs with Windows Task Scheduler: Automate Your Workflow Like a Pro

https://medium.com/@nagarajvela/running-c-jobs-with-windows-task-scheduler-automate-your-workflow-like-a-pro-f9519590903e

Easily Schedule and Run C# Applications Like a Pro

Article preview

Reduce NULL Storage in SQL Server with Sparse Columns

https://www.csharp.com/article/reduce-null-storage-in-sql-server-with-sparse-columns/

SQL Server Sparse Columns optimize storage by not allocating space for NULL values, improving efficiency. They support filtered indexes and column sets for dynamic queries but add a 4-byte overhead fo...

Article preview

Java vs. C#: The Clear Choice for Enterprise Programming in 2025

https://medium.com/@nwakauc1/java-vs-c-the-clear-choice-for-enterprise-programming-in-2025-a2c759344f33

Introduction: With over 700 programming languages to choose from, beginners and career changers often struggle to find the right starting…

Article preview

Understanding Host in the ASP.NET Core

https://www.csharp.com/blogs/understanding-host-in-the-asp-net-core

In ASP.NET Core, the host manages the application's lifecycle, dependencies, and environment. It includes Generic Host (IHost) for various app types and Web Host (IWebHost) for web applications, confi...

Article preview

Understanding the Interface Segregation Principle (ISP) in C#

https://medium.com/@orkhanmustafayev/understanding-the-interface-segregation-principle-isp-in-c-e7e88a80ae56

When designing software in C#, following best practices can make the difference between a project that’s easy to maintain and extend, and…

Article preview

How do you handle routing in ASP.NET Core?

https://medium.com/@kacar7/how-do-you-handle-routing-in-asp-net-core-c280765d2282

Routing in ASP.NET Core is like a map that guides HTTP requests to the right destination, such as controllers, actions, Razor Pages, and…

Article preview

Jasen's take on today's picks

Newtonsoft.Json vs. System.Text.Json: Picking the Right JSON Serializer for Your .NET Project

A practical serializer comparison that helps you choose between Newtonsoft.Json and System.Text.Json without guesswork.

Why .NET MAUI is the Future of App Development

A straightforward MAUI article that argues the platform's case for cross-platform .NET app development.

ADO.NET vs Entity Framework: Understanding the Differences

A clear reminder that ADO.NET and EF still solve different problems, especially when control or abstraction matters.

Boosting Performance with Lazy Loading in C# .NET Core

Lazy loading can improve perceived performance, but it deserves careful measurement before it becomes a default.

GraphQL Explained

GraphQL is explained at a high level here, making it a useful refresher if you're evaluating API shapes.

Understanding the Override Function in C#

A quick C# refresher on override semantics, handy for newer developers and anyone teaching the basics.

The Hidden Cost of String Parameters

This one focuses on string parameter costs, a good reminder that small API choices can have measurable overhead.

Optimize Your C# Code: Using Benchmark.NET to Identify Performance Bottlenecks

Benchmark.NET gets the spotlight for finding bottlenecks instead of relying on intuition or micro-optimizations.

Role of Delegates in C# Programming

Delegates are covered from the fundamentals, which makes this a solid concept check for everyday C# work.

Safe Access to Nullable Properties

Nullable property access is handled with practical safety patterns that reduce avoidable runtime surprises.

Announcing Generative AI for Beginners – .NET

Microsoft's beginner-friendly generative AI .NET announcement is a good on-ramp if you're exploring that stack.

Microsoft .NET Ecosystem

A broad ecosystem overview that can help newer developers connect the dots across the .NET landscape.

Be Careful Using Distinct and OrderBy in EF Core Queries

The EF Core warning is worth reading if you combine Distinct and OrderBy, because query shape can change results.

Running C# Jobs with Windows Task Scheduler: Automate Your Workflow Like a Pro

Windows Task Scheduler shows up as a simple automation option for jobs that don't need a heavier orchestration stack.

Reduce NULL Storage in SQL Server with Sparse Columns

Sparse columns are a classic SQL Server optimization and still useful when lots of NULLs waste space.

Java vs. C#: The Clear Choice for Enterprise Programming in 2025

The Java-versus-C# comparison is more opinionated than technical, but it reflects how .NET is positioned in enterprise conversations.

Understanding Host in the ASP.NET Core

A clear host overview that should help make ASP.NET Core startup and runtime behavior less mysterious.

Understanding the Interface Segregation Principle (ISP) in C#

The ISP piece is a clean SOLID refresher that reinforces why smaller interfaces usually lead to better design.

How do you handle routing in ASP.NET Core?

Routing in ASP.NET Core is covered in a practical way, which is useful whether you're building minimal APIs or MVC apps.

Related issues

📬 Get daily .NET content delivered to your inbox