C# 14, AI and .NET pitfalls
A varied mix of C# 14 changes, AI app integration, Visual Studio tips, security, and real-world .NET troubleshooting for working developers.
Jasen's top three picks
- 1 “Object Cannot Be Cast from DBNull to Other Types” — The Hidden Null Trap in .NET 8 / 9
medium.com
A classic DBNull bug that still bites seasoned .NET developers when database nulls meet newer runtime behavior.
- 2 Partial Constructors in C# 14 (.NET 10) - A Game-Changing Feature
c-sharpcorner.com
Partial constructors are one of those language features that could genuinely change how source generators and large codebases are organized.
- 3 ASP.NET Development Services: Building Secure, Scalable, and High-Performance Web Applications
medium.com
A practical look at using MCP from C# to wire .NET apps into AI workflows without inventing a bespoke protocol.
Editor's note
I pulled together a deliberately mixed issue: language updates, practical tooling, and a few hard-earned lessons from real systems. The DBNull casting trap and the 49.7-day Task.Delay bug are the kind of details that save you a long night, while the C# 14 pieces and MCP article show where the platform is headed.
Today's articles
“Object Cannot Be Cast from DBNull to Other Types” — The Hidden Null Trap in .NET 8 / 9
medium.com
If you’ve worked long enough with .NET and SQL, this one probably found you eventually:
Topics: .NET 8 .NET 9 SQL Server
Read articlePartial Constructors in C# 14 (.NET 10) - A Game-Changing Feature
c-sharpcorner.com
C# 14 introduces Partial Constructors, a game-changer for .NET 10! Split constructor logic across files, enhance source generator support, and improve maintainability. Build modular, scalable applicat...
Topics: C# .NET 10 Source Generators
Read articleASP.NET Development Services: Building Secure, Scalable, and High-Performance Web Applications
medium.com
In today’s rapidly evolving digital landscape, businesses require web applications that are not only visually appealing but also secure…
Topics: ASP.NET Core Security Web API
Read article.NET Framework vs .NET Core — Key Differences Every Developer Should Know
medium.com
Choosing the right .NET platform matters. Here’s a quick breakdown 👇
Topics: .NET Core .NET Framework
Read articleBuilding AI-Ready Applications with Model Context Protocol in C#
medium.com
Learn how to build MCP servers and clients in C# using the official SDK, and connect your .NET applications with AI models in a standard…
Read articlePractical Experience: Migrating an Old .NET Project with GitHub Copilot Agent
medium.com
Learn how GitHub Copilot Agent helped migrate a .NET CQRS project to MediatR with async/await support with unit tests
Topics: CQRS GitHub Copilot MediatR
Read articleTask.Delay fails if you wait longer than 49.7 days
steven-giesel.com
Task.Delay fails if you wait longer than 49.7 days. So something like: await Task.Delay(TimeSpan.FromDays(50)); will fail. But why and should you care?
Topics: .NET Core Performance
Read articleVisual Studio “View” Menu — What’s Actually Useful (And What Can Wait)
medium.com
If you open the View menu in Visual Studio, it feels overwhelming.
Topics: Visual Studio
Read articleWhat’s New in C# 14 (.NET 10): 7 Powerful Language Features Every C# Developer Should Know
c-sharpcorner.com
Explore C# 14's powerful features in .NET 10! Boost productivity with extension members, extension operators, field keyword, null-conditional assignment, and more. Write cleaner, safer, and faster cod...
Read articleIntroducing Microservices Design Patterns in .NET (2nd Edition)
trevoirwilliams.com
After months of writing, revising, and pressure-testing ideas against real-world systems, I’m excited to officially announce the release of the Second Edition of Microservices Design Patterns in .NET....
Topics: Clean Architecture Design Patterns
Read articleThe best VS Code feature you aren't using
youtube.com
How to Fix Slow LINQ Queries: Real Performance Lessons from Real Projects
Topics: Performance Visual Studio Code
Read articleUnderstanding and Managing Mark of the Web in .NET
meziantou.net
What is Mark of the Web? Mark of the Web (MOTW) is a Windows security feature that protects users from potentially unsafe files downloaded from the internet. When you download a file, Windows automati...
Read article