Best of C#June 2025

  1. 1
    Video
    Avatar of awesome-codingAwesome·50w

    C# is cool again and you can't avoid it anymore...

    C# has evolved significantly from its enterprise-focused origins into a modern, cross-platform language with features like records, pattern matching, nullable reference types, and async/await. The .NET ecosystem has been transformed with .NET Core (now simply .NET), offering cross-platform support, modular architecture, and excellent performance. Modern C# includes minimal APIs for quick web development, LINQ for database querying, source generators for compile-time code generation, and frameworks like Blazor for frontend development and MAUI for cross-platform mobile apps.

  2. 2
    Video
    Avatar of codemonkeyunityCode Monkey·51w

    Dev followed my FREE course, then made $150,000!

    A game development instructor shares success stories of students who learned from his free Unity courses and went on to create profitable games. The main example is Urban Jungle, a cozy home decoration game that generated approximately $150,000 in revenue after the developer started as a complete beginner and followed a 10-hour Unity tutorial. The post highlights multiple success stories and promotes various free programming courses, emphasizing how beginners can learn game development through structured tutorials and reverse engineering existing code.

  3. 3
    Article
    Avatar of netguruNetguru·47w

    Golang vs C#: Backend Battle - What Top Companies Choose

    Go and C# represent different philosophies for backend development. Go offers superior memory efficiency (25MB vs 162MB), faster initial response times, and simpler deployment with 6MB container images. C# provides a mature ecosystem, comprehensive tooling, and better enterprise integration. Go excels in microservices and cloud-native applications, while C# dominates desktop applications and enterprise systems. Performance differences narrow under sustained load, with both languages suitable for production workloads. The choice depends on team expertise, infrastructure, and specific project requirements rather than absolute performance metrics.

  4. 4
    Article
    Avatar of syncfusionSyncfusion·48w

    7 Underrated C# 12 and C# 13 Features Every Developer Should Know!

    C# 12 and C# 13 introduce several underrated features that significantly improve code quality and performance. Key highlights include collection expressions for cleaner syntax, inline arrays for memory optimization, ref readonly parameters for efficient struct handling, type aliases for complex generics, typed exceptions for better error handling, params span for allocation-free variadic functions, and warning wave 7 for code quality improvements. These features enhance developer productivity while preparing codebases for C# 14's upcoming capabilities.

  5. 5
    Article
    Avatar of csharpcornerC# Corner·51w

    Unit of Work Pattern in .NET — Why You Need It and How to Implement It

    The Unit of Work pattern manages database transactions by tracking changes across multiple entities and ensuring they're committed together or not at all. This design pattern provides data consistency, abstracts transaction management from business logic, improves efficiency through batching, and enhances testability. The implementation involves creating repository interfaces, implementing them with Entity Framework Core, defining a Unit of Work interface, and coordinating multiple repositories within a single transaction boundary.

  6. 6
    Video
    Avatar of nickchapsasNick Chapsas·48w

    My 100 Tips for Better .NET Code

    A comprehensive collection of 100 practical C# and .NET development tips covering performance optimization, memory management, async programming, language features, and best practices. Topics include proper exception handling, LINQ optimization, dependency injection, modern C# syntax features like primary constructors and collection expressions, testing strategies, and common pitfalls to avoid. The tips range from basic concepts like proper null checking to advanced topics like ref structs, span usage, and memory allocation optimization.

  7. 7
    Article
    Avatar of bartwullemsThe Art of Simplicity·48w

    Browse the .NET code base with the .NET Source Browser

    The .NET Source Browser allows developers to explore Microsoft's .NET source code implementation directly. You can search for specific features like Channel.CreateBounded to understand how they're implemented internally. The browser provides search functionality and links to GitHub repositories, making it easy to learn from Microsoft's own codebase and implementation patterns.

  8. 8
    Article
    Avatar of syncfusionSyncfusion·50w

    Are Your LINQ Queries Slowing Down Your App? Here’s How to Fix Them

    LINQ queries can significantly slow down .NET applications through common performance traps like multiple enumerations, deferred execution issues, premature ToList() calls, and fetching unnecessary data. Key optimization strategies include filtering before materializing data, using Select() for projection, caching results when reused multiple times, preferring Any() over Count() > 0, and understanding when queries execute to avoid hidden database hits.

  9. 9
    Article
    Avatar of telerikTelerik·50w

    Domain-Driven Design Principles: Value Objects in ASP.NET Core

    Value objects are immutable entities in domain-driven design that lack identity and are recognized by their values rather than unique identifiers. The article demonstrates implementing value objects in ASP.NET Core through a practical Address example, covering the creation of a base ValueObject class with equality comparison methods, proper Entity Framework Core configuration for non-entity objects, and the benefits of using value objects for domain expressiveness, immutability, and separation of concerns in software architecture.