2026-05-22 csharpdotnetdotnet-11 C# 16 Reworks unsafe Into a Caller Contract C# 16 redesigns the unsafe keyword so it propagates a caller obligation instead of silently opening an unsafe context, with inner unsafe blocks now mandatory.
2026-05-22 comparisondotnetnative-aot Native AOT vs ReadyToRun vs JIT in .NET 11: which should you ship? Plain JIT with Dynamic PGO wins steady-state throughput, ReadyToRun cuts startup with zero code changes, and Native AOT gives the smallest, fastest-starting binary at the cost of reflection and dynamic code. Pick by deployment shape, not raw benchmarks.
2026-05-22 comparisonsystem-text-jsonnewtonsoft-json System.Text.Json vs Newtonsoft.Json in 2026: which should you pick? Pick System.Text.Json for new .NET 11 code: it ships in-box, is roughly 2x faster, and is the only one that works with Native AOT. Reach for Newtonsoft.Json only for JSONPath, TypeNameHandling, or genuinely lenient JSON.
2026-05-21 comparisoncsharpasync ConfigureAwait(false) vs default in .NET 11: does it still matter? ConfigureAwait(false) is still mandatory in library code that may run under a SynchronizationContext (WinForms, WPF, MAUI). In application code on ASP.NET Core, a console app, or a worker service running on .NET 11, it is a no-op.
2026-05-21 comparisoncsharplinq IEnumerable vs IAsyncEnumerable vs IQueryable in C#: which one should the method return? Three sequence interfaces, three execution models. Use IQueryable when a database can translate the query, IAsyncEnumerable when the producer is async and you want to stream, IEnumerable for everything else in memory.
2026-05-21 comparisonaspnetcoreminimal-apis Minimal APIs vs controllers in ASP.NET Core 11: which should you pick in 2026? Pick minimal APIs by default in ASP.NET Core 11. Use controllers only when you need MVC features that minimal APIs still do not match: convention-based routing across many actions, MVC-style filters, or Razor views.
2026-05-20 comparisonef-coredapper EF Core 11 vs Dapper for bulk inserts: real benchmark For bulk inserts in .NET 11, neither EF Core nor Dapper wins. SqlBulkCopy does. This is the benchmark, the why, and the seat each tool deserves.
2026-05-17 mcpai-agentsdotnet dotnet new mcpserver Now Ships in the .NET 11 Preview 4 SDK .NET 11 Preview 4 bundles the mcpserver project template directly into the SDK. No separate Microsoft.McpServer.ProjectTemplates install, no preview feed dance. Pick stdio or HTTP transport, opt into Native AOT, and dotnet new mcpserver -o MyServer is the whole setup.
2026-05-16 errorsdotnetdotnet-11 Fix: Provisioning profile doesn't include the currently selected device in MAUI iOS The profile Visual Studio picked was generated before this iPhone's UDID was registered. Re-register the device, regenerate the development profile, redownload, redeploy.
2026-05-16 errorsdotnetdotnet-11 Fix: Unable to find a valid iOS Simulator runtime during MAUI build Xcode 15+ ships without bundled iOS simulator runtimes. MAUI fails the build when SupportedOSPlatformVersion has no matching runtime installed. Install one with xcodebuild -downloadPlatform iOS or via Xcode Settings, then verify with xcrun simctl list runtimes.