Home Archive ASP.NET Core, source generators, and AI – .NET News Daily Issue #256 (Aug 6, 2025)

Editor's note

I pulled a deliberately mixed lineup this time: old-school Web Forms, modern ASP.NET Core, and a few architecture pieces that spark good debates. The CQRS ≠ MediatR piece is a nice reminder to keep patterns and tools separate, and the source-generated contracts article is a practical warning for .NET 9 teams. I also liked the Azure AI agent and Swagger posts for readers building real APIs right now.

ASP.NET Core, source generators, and AI

Midweek checkpoint for .NET aficionados: as you coast through the codebase challenges, consider this your roadside diner break with a side of captivating insights and spicy updates. This Wednesday, turbocharge your C# engines and buckle up for articles that fuel your developer journey with precision and a dash of playfulness—ideal for when your brain craves both substance and a sprinkle of fun.

Today's Articles

You Know OOP — But Do You Know Where and Why to Use It in .NET?

https://medium.com/codeelevation/you-know-oop-but-do-you-know-where-and-why-to-use-it-in-net-74958cb765a2

Most .NET developers can code in an object-oriented style. But few stop to ask: Is OOP even the right fit here? And if it is — what’s the… Continue reading on CodeElevation »

Article preview

CRUD (Create, Read, Update, Delete) with Fetch API in Vanilla ASP.NET Web Forms (Vanilla Web Forms)

https://www.c-sharpcorner.com/article/crud-create-read-update-delete-with-fetch-api-in-vanilla-asp-net-web-forms/

Building a Web Forms Page with CRUD (Select, Insert, Update, Delete) Operations without Server Control and Postback

Article preview

9 Must-Ask Questions When Hiring a dotNET Core and React Development Partner

https://www.faciletechnolab.com//blog/9-must-ask-questions-when-hiring-a-dotnet-core-and-react-development-partner/

Protect your investment and avoid costly failures. These 9 strategic questions help non-technical leaders evaluate .NET Core + React development partners for long-term success.

Article preview

Advanced Swagger Use Cases in ASP.NET Core (.NET 6/7/8)

https://www.c-sharpcorner.com/article/advanced-swagger-use-cases-in-asp-net-core-net-678/

Take your API documentation to the next level with advanced Swagger use cases in ASP.NET Core. In this article, I cover grouping endpoints, API versioning, JWT authentication, hiding routes, UI custom...

Article preview

How To Implement API Key Authentication In ASP.NET Core in .NET 9

https://medium.com/@michaelmaurice410/how-to-implement-api-key-authentication-in-asp-net-core-in-net-9-d193be7e8b34?source=rss------csharp-5

If you want the full source code, download it from this link: https://www.elitesolutions.shop/

Article preview

Make Scheduling Human-Readable in .NET with NaturalCron

https://medium.com/@hugo86jose/make-scheduling-human-readable-in-net-with-naturalcron-b81b321fa8a3

Cron expressions are powerful but notoriously hard to read. If you’ve ever looked at something like:

Article preview

🧾 Creating Custom Middleware in ASP.NET Core – The Complete Guide with Real Examples

https://www.c-sharpcorner.com/article/creating-custom-middleware-in-asp-net-core-the-complete-guide-with-real-exa/

ASP.NET Core is known for its modular pipeline, where middleware components play a critical role in handling HTTP requests and responses. Middleware can perform a variety of tasks such as request logg...

Article preview

CQRS ≠ MediatR

https://jaykrishnareddy.medium.com/cqrs-mediatr-fcd7493168c7

CQRS is an architectural pattern. MediatR is just a library.

Article preview

Build a Simple Habit Tracker in C# Console with JSON Storage

https://www.c-sharpcorner.com/article/build-a-simple-habit-tracker-in-c-sharp-console-with-json-storage/

In this beginner-friendly C# article, you'll learn how to build a Habit Tracker application using a simple console interface and JSON for persistent storage. This project will help you manage daily ha...

Article preview

7 Mistakes Senior Devs Make with .NET 9 Source‑Generated Contracts (And the Lightning Fixes)

https://medium.com/c-sharp-programming/7-mistakes-senior-devs-make-with-net-9-source-generated-contracts-and-the-lightning-fixes-c264aa5d60df

Avoid build crashes, DLL bloat, and runtime errors caused by misusing .NET 9 source-generated contracts. Learn the 7 critical mistakes… Continue reading on .Net Programming »

Article preview

How to Build an AI Agent Using Azure

https://www.c-sharpcorner.com/article/how-to-build-an-ai-agent-using-azure/

Artificial Intelligence is reshaping the way we build applications—from chatbots to smart assistants. In this article, we'll explore how to create your own AI Agent using Microsoft Azure

Article preview

Mastering Dependency Injection in .NET Core: A Complete Beginner-to-Advanced Guide

https://www.c-sharpcorner.com/article/mastering-dependency-injection-in-net-co-a-complete-beginner-to-advanced-gui/

Dependency Injection (DI) is a cornerstone of modern software architecture in .NET Core and beyond. It promotes loose coupling, testability, and maintainability, making applications easier to build an...

Article preview

Why I Use The Unit of Work Pattern With EF Core | Clean Architecture in .NET 9

https://medium.com/@michaelmaurice410/why-i-use-the-unit-of-work-pattern-with-ef-core-clean-architecture-in-net-9-20ba736d1f2c

Article preview

Understanding Caching Strategies in .NET – A Practical Guide

https://www.c-sharpcorner.com/article/understanding-caching-strategies-in-net-a-practical-guide/

Learn practical caching strategies in .NET—Cache-Aside, Read-Through, Write-Through, and Write-Behind—to boost app performance, reduce database load, and choose the right approach for scalable, respon...

Article preview

Repeater Control in ASP.NET Web Forms with C#

https://www.c-sharpcorner.com/blogs/repeater-control-in-asp-net-web-forms-with-c-sharp

Learn how to use the Repeater control in ASP.NET Web Forms with C# to display IPO data from a SQL Server database. This lightweight, customizable control is ideal for simple, flexible, HTML-driven dat...

Article preview

ASP.NET Community Standup - Building a better PerfView with Blazor

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

Article preview

Belitsoft’s 2025 Enterprise .NET Stack: Tools & Frameworks

https://belitsoft.com/net-development-services/tools

The 2025 .NET stack blends Microsoft-supported open-source and commercial components: high-performance application frameworks, Azure cloud…

Article preview

Dictionary.Empty: Why there’s no direct equivalent to Array.Empty in C#?

https://medium.com/@vikpoca/dictionary-empty-why-theres-no-direct-equivalent-to-array-empty-in-c-8cf1061e787e

In my current codebase, there’re plenty of places where I’d like to pass Dictionary.Empty<TKey, TValue> instead of writing [] or new…

Article preview

Unleash the Power of Bulk Extensions with Dapper Plus

https://codingsonata.medium.com/unleash-the-power-of-bulk-extensions-with-dapper-plus-5d3828ec991b

In this article, we will be highlighting a key feature of Dapper Plus, the Bulk Extensions, the fastest way to perform bulk operations in…

Article preview

Introduction to Model Context Protocol (MCP)

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

Article preview

Smarter AI Edits in Visual Studio Copilot

https://devblogs.microsoft.com/visualstudio/smarter-ai-edits-in-visual-studio-copilot/

When we first set out to get smarter AI edits in Visual Studio Copilot, we knew we were tackling a deeply complex problem. It wasn’t just about generating great suggestions—it was about figuring out h...

Article preview

Coach Marks, but Beautiful in .NET MAUI

https://medium.com/@freakyali/coach-marks-but-beautiful-in-net-maui-7cd861dc1058

A Practical Guide to Building Custom Onboarding with FreakyUXKit

Article preview

Roadmap to Becoming an ASP.NET Core Developer in 2025 — NareshIT

https://nareshit.medium.com/roadmap-to-becoming-an-asp-net-core-developer-in-2025-nareshit-105fcba80c1d

Your Path to Modern Web Development

Article preview

Day 2 of My C# Journey: Starting with OOP (Not the Basics Again)

https://medium.com/@sashmithakavishka/day-2-of-my-c-journey-starting-with-oop-not-the-basics-again-c037cdbcee03

Hey folks 👋

Article preview

Jasen's take on today's picks

You Know OOP — But Do You Know Where and Why to Use It in .NET?

A useful reminder that OOP is a tool, not a default; picking the right style matters more than applying it everywhere.

CRUD (Create, Read, Update, Delete) with Fetch API in Vanilla ASP.NET Web Forms (Vanilla Web Forms)

A Web Forms CRUD walkthrough with Fetch API is nostalgic, but still practical for teams maintaining older apps.

9 Must-Ask Questions When Hiring a dotNET Core and React Development Partner

Nine partner-selection questions are aimed at non-technical buyers and help avoid expensive misalignment early.

Advanced Swagger Use Cases in ASP.NET Core (.NET 6/7/8)

Advanced Swagger tips here go beyond basics, especially endpoint grouping, versioning, JWT, and hiding routes.

How To Implement API Key Authentication In ASP.NET Core in .NET 9

API key auth in ASP.NET Core .NET 9 is timely, though readers should compare it with stronger auth schemes.

Make Scheduling Human-Readable in .NET with NaturalCron

NaturalCron makes schedule strings readable, which is exactly the kind of small utility that saves time in production code.

🧾 Creating Custom Middleware in ASP.NET Core – The Complete Guide with Real Examples

Custom middleware examples are always valuable because the pipeline is where many ASP.NET Core behaviors really come together.

CQRS ≠ MediatR

CQRS ≠ MediatR is the kind of clarification every architecture discussion needs: pattern first, library second.

Build a Simple Habit Tracker in C# Console with JSON Storage

A beginner habit tracker with JSON storage keeps the scope tight and is a good confidence-builder for newer C# developers.

7 Mistakes Senior Devs Make with .NET 9 Source‑Generated Contracts (And the Lightning Fixes)

The source-generated contracts article targets a real .NET 9 pain point: build issues, bloat, and runtime surprises.

How to Build an AI Agent Using Azure

An Azure AI agent guide adds practical modern AI coverage for teams experimenting with Microsoft’s ecosystem.

Mastering Dependency Injection in .NET Core: A Complete Beginner-to-Advanced Guide

Dependency injection from beginner to advanced is evergreen material, especially for teams standardizing their composition roots.

Why I Use The Unit of Work Pattern With EF Core | Clean Architecture in .NET 9

Unit of Work with EF Core in Clean Architecture will resonate with developers trying to balance abstraction and simplicity.

Repeater Control in ASP.NET Web Forms with C#

The Web Forms Repeater post is a reminder that lightweight data binding still has a place in legacy apps.

ASP.NET Community Standup - Building a better PerfView with Blazor

PerfView in Blazor is an interesting community standup topic for anyone chasing performance and tooling improvements.

Dictionary.Empty: Why there’s no direct equivalent to Array.Empty in C#?

Dictionary.Empty discussion is a neat language-level deep dive for developers who care about allocations and API design.

Unleash the Power of Bulk Extensions with Dapper Plus

Bulk extensions with Dapper Plus focus on throughput, making it relevant for data-heavy workflows and batch imports.

Introduction to Model Context Protocol (MCP)

The MCP video is a good bridge between AI tooling and developer workflow inside Visual Studio Copilot.

Coach Marks, but Beautiful in .NET MAUI

Coach marks in .NET MAUI are a nice UX-focused break from the usual backend-heavy feed.

Roadmap to Becoming an ASP.NET Core Developer in 2025 — NareshIT

The ASP.NET Core roadmap is broad but useful for newer developers trying to map the stack in 2025.

Day 2 of My C# Journey: Starting with OOP (Not the Basics Again)

The second OOP post shows how often fundamentals still matter when people are learning C# from scratch.

Related issues

📬 Get daily .NET content delivered to your inbox