Best of C#December 2025

  1. 1
    Article
    Avatar of andrewlock.NET Escapades·24w

    Trying out the Zed editor on Windows for .NET and Markdown

    Zed editor on Windows offers impressive speed and smoothness compared to VS Code, with adequate support for .NET development through the OmniSharp extension. However, it falls short for Markdown editing, lacking key features like keyboard shortcuts for formatting, code folding, IntelliSense for links, and synchronized preview scrolling. While .NET editing works well (except for Razor files), the missing Markdown conveniences and intrusive autocomplete suggestions make it not yet ready to replace VS Code for writing documentation. The author remains optimistic about future improvements given Zed's rapid development pace.

  2. 2
    Video
    Avatar of nickchapsasNick Chapsas·24w

    The New Cross Platform C# IDE is INSANE

    SharpIDE is a new open-source, cross-platform C# IDE built using C# and the Godot game engine with Photino Blazor for the UI. Created by Mark Parker, it runs on Windows, Linux, and Mac, offering features like syntax highlighting, debugging with Samsung debugger, NuGet package management, test explorer, and fast project loading. While very early in development and not production-ready, it demonstrates working code editing, building, running, and debugging capabilities. The project is fully open-source on GitHub, encouraging community contributions to add features and improvements.

  3. 3
    Article
    Avatar of telerikTelerik·22w

    What’s New in .NET 10 for ASP.NET Core

    .NET 10 introduces file-based applications that run from a single .cs file without project files, C# 14 extension properties and the field keyword for simpler property definitions, built-in validation for Minimal APIs, and Entity Framework Core 10 enhancements including LeftJoin/RightJoin methods, JSON column updates with ExecuteUpdate, complex type mapping, and named query filters. These features aim to improve developer productivity through reduced boilerplate and more intuitive APIs.

  4. 4
    Article
    Avatar of telerikTelerik·21w

    What’s New with APIs in .NET 10: Real Improvements

    .NET 10 introduces built-in validation for Minimal APIs, eliminating the need for custom validation code. The release includes OpenAPI 3.1 support with improved JSON Schema handling, named query filters in Entity Framework Core 10 for selective filter disabling, and C# 14 features like field-backed properties, null-conditional assignment operators, and extension members. Additional improvements include native Server-Sent Events support for streaming updates. These enhancements focus on reducing boilerplate code and improving developer productivity for API development.

  5. 5
    Article
    Avatar of telerikTelerik·23w

    .NET 10: Quick UI Changes Worth Noticing in .NET MAUI

    .NET 10 introduces several UI improvements and deprecations for .NET MAUI developers. Key changes include a new IsRefreshEnabled property for RefreshView, replacement of ClickGestureRecognizer with TapGestureRecognizer, and new async versions of DisplayAlert and DisplayActionSheet. SearchHandler gains keyboard control APIs, Switch adds an OffColor property, and MediaPicker now automatically handles EXIF metadata for proper image orientation. MessagingCenter becomes internal (use WeakReferenceMessenger instead), and TableView is marked obsolete in favor of CollectionView. Windows desktop apps gain minimize/maximize button control.

  6. 6
    Article
    Avatar of auth0Auth0·24w

    A New Auth0 ASP.NET SDK to Secure Your API

    Auth0 releases a beta SDK for ASP.NET Core that simplifies API authentication. The new package wraps Microsoft's JWT Bearer authentication while adding native DPoP support for enhanced security. It provides pre-configured Auth0 settings, flexible configuration through the options pattern, and maintains full compatibility with standard JWT Bearer features. Installation requires .NET 8 or above and involves adding the NuGet package and configuring authentication in Program.cs.

  7. 7
    Article
    Avatar of milanjovanovicMilan Jovanović·23w

    The New .slnx Solution Format (migration guide)

    Microsoft introduced .slnx, a new XML-based solution file format for .NET that replaces the verbose, GUID-heavy .sln format. The new format is human-readable, easier to merge in version control, and aligns with the simplified .csproj format. You can migrate existing solutions using either the .NET CLI command 'dotnet sln migrate' or Visual Studio's 'Save As' feature. The format is supported in Visual Studio 2022 (v17.13+), Visual Studio 2026, Rider, and .NET 9 SDK (9.0.200+). While technically in preview, it's stable and safe for production use, with the primary benefit being dramatically fewer merge conflicts.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·22w

    Create a 2D Pixel Art Game in Unity

    A 10-hour video tutorial teaches how to build a complete 2D pixel art tower defense game in Unity from scratch. The course covers setting up tilemap levels, animating pixel art characters, implementing tower and enemy wave systems using Scriptable Objects, designing multiple themed levels (forest, lava, jungle), and exporting builds for Windows, Android, and web platforms.

  9. 9
    Article
    Avatar of hnHacker News·22w

    sebastienros/comptime: Comptime brings meta-programming capabilities to C#, enabling compile-time code generation and evaluation.

    Comptime is a .NET source generator that executes methods at compile time and serializes their results into C# code. By marking methods with the `[Comptime]` attribute, developers can shift expensive computations from runtime to build time, improving application performance. It supports primitive types, collections, method parameters with constant expressions, and generic methods. The tool uses C# interceptors to replace method calls with pre-computed values, requiring .NET 8.0+ and C# 12+. Methods must be static, classes must be partial, and return types must be immutable.

  10. 10
    Article
    Avatar of hnHacker News·22w

    Microsoft please get your tab to autocomplete shit together

    A developer expresses frustration with VSCode's autocomplete behavior, specifically with the C# Dev Kit plugin. When pressing tab to accept a suggestion, the autocomplete ignores the displayed options and suggests something different instead. The author calls on Microsoft to fix this inconsistent behavior.

  11. 11
    Article
    Avatar of atomicobjectAtomic Spin·24w

    Correctly Check and Use Nullable Variables in C#

    C# handles null checks differently for value types (like int) versus reference types (like string). After checking for null with the `is` operator, value types require accessing the `.Value` property to use the underlying value, while reference types can be used directly. This is because nullable value types use the `Nullable<T>` wrapper class with `.HasValue` and `.Value` properties, whereas reference types natively support null values without special wrappers.

  12. 12
    Article
    Avatar of dotnet.NET Blog·21w

    Top .NET Blog Posts of 2025

    .NET 10 launched in November 2025 as the latest Long Term Support release with improvements across runtime, SDK, libraries, and tooling. Key highlights include performance enhancements with detailed benchmarks, AI integration through Microsoft Agent Framework and Model Context Protocol, Aspire 9.3 with GitHub Copilot integration for distributed apps, and tooling improvements like the new SLNX solution format and simplified single-file execution. The year also brought important announcements about 24-month support for STS releases and the formation of the .NET Security Group for coordinated security patches.

  13. 13
    Article
    Avatar of dotnetsquad.NET·21w

    What is .NET Core & Why it replaced .NET Framework?

    .NET Core replaced .NET Framework to address modern development needs. While .NET Framework was Windows-only, tightly coupled to IIS, and slow to innovate, .NET Core introduced cross-platform support (Windows, Linux, macOS), high performance, open-source licensing, and cloud/container-friendly architecture. Microsoft strategically shifted all future development to .NET Core (now unified as .NET 5+), leaving .NET Framework in maintenance-only mode for legacy enterprise systems. For modern APIs, microservices, or cloud applications, current .NET versions (8, 9, 10) are the recommended choice.