2026-08-29 errorsdotnetcsharp Fix: CA1070 "Do not declare event fields as virtual" CA1070 fires on virtual field-like events. Drop the virtual, keep the event non-virtual, and let derived classes override a protected virtual OnXxx raiser instead.
2026-08-29 errorsmauidotnet Fix: Doesn't support required ABI when installing a .NET MAUI Android app The APK has no native library for the device's CPU. Since .NET 9 the default Android RuntimeIdentifiers are 64-bit only, so the fix is to set RuntimeIdentifiers explicitly. Covers ADB0020, XA0036, NETSDK1083, the ABI to RID mapping, the Play Console wording, and why the four-RID snippet everyone copies breaks on .NET 11.
2026-08-29 errorsdotnetdocker Fix: failed to resolve source metadata for mcr.microsoft.com/dotnet/aspnet BuildKit cannot read the manifest for your base image. Check the tag exists, repair the Docker credential helper, open both MCR endpoints, then pre-pull for offline builds.
2026-08-28 aspiredotnetdotnet-11 Aspire 13.5 Puts a Real Terminal Inside the Dashboard WithTerminal() gives a resource an interactive PTY session you can type into from the dashboard or attach to from your own shell. It is experimental, it detaches the debugger, and the Shell option you may have written against is gone.
2026-08-28 mcpai-agentsdotnet Fix: MCP9004, MCP9005 and MCP9006 warnings after upgrading the MCP C# SDK to 2.0 MCP9005 is advisory, but MCP9004 crashes at startup and stateless mode makes SampleAsync throw. Here is what each diagnostic means and how to fix it properly.
2026-08-28 migrationdotnetnuget Migrate a .NET solution to Central Package Management with Directory.Packages.props Move every package version out of your csproj files into one Directory.Packages.props. Covers a generator script that reconciles conflicting versions with real semver ordering, the before/after dependency-graph diff that proves what moved, NU1008/NU1010/NU1013/NU1507, transitive pinning, GlobalPackageReference, VersionOverride, and why a nested Directory.Packages.props silently shadows the root one.
2026-08-27 dotnetcsharpaspnetcore How to render a heading whose level (h1-h6) is chosen at runtime in a Blazor component Blazor has no syntax for a variable tag name, and DynamicComponent only renders component types. Override BuildRenderTree and call builder.OpenElement(0, $"h{level}"). Covers attribute splatting, why the tag name must be clamped before it reaches the DOM, why changing the level rips the element out of the DOM even with @key, and an auto-levelling variant built on a cascading value.
2026-08-24 dotnetmauiblazor .NET MAUI 10.0.100 adds UsePlatformHandler for custom BlazorWebView backends MAUI 10.0.100 ships MauiBlazorWebViewBuilderExtensions.UsePlatformHandler, a supported seam for replacing BlazorWebViewHandler without reimplementing everything AddMauiBlazorWebView() registers. Two overloads, one ordering trap.
2026-08-23 csharplinqdotnet How to tell whether an IEnumerable<T> has already been materialized in C# There is no HasBeenEnumerated flag on IEnumerable<T>. Here is what TryGetNonEnumeratedCount actually checks, why Enumerable.Range passes an ICollection<T> test, and the guard that avoids a wasted ToList().
2026-08-23 ef-corelinqcsharp How to write reusable LINQ predicates that EF Core can translate in Where, Select, and OrderBy A bool helper method throws "could not be translated". An Expression<Func<T, bool>> does not. Here is how to compose, nest, and reuse expression trees in EF Core 11 without LINQKit, with the real SQL for every case.