Best of Nick ChapsasMarch 2025

  1. 1
    Video
    Avatar of nickchapsasNick Chapsas·1y

    .NET has an AI problem

    The focus of an upcoming .NET conference revolves around AI, emphasizing various applications of AI in .NET. Key highlights include using AI-powered services, AI integration tips, and showcasing new AI features and demos. Tutorials on Blazor and AI implementation in .NET applications will also be featured.

  2. 2
    Video
    Avatar of nickchapsasNick Chapsas·1y

    When to Use Classes and Structs in .NET

    Nick explains the difference between classes and structs in .NET, focusing on their memory allocation behaviors and performance implications. He provides code examples and discusses when it makes sense to use each, highlighting that classes are reference types allocated on the heap, whereas structs are value types typically allocated on the stack. The post also emphasizes that structs should be small to avoid performance issues related to memory copying.

  3. 3
    Video
    Avatar of nickchapsasNick Chapsas·1y

    You NEED To Update Your Tests in .NET

    Testing in .NET is undergoing significant changes with the release of xUnit version 3. This update introduces numerous new features, including project templates, configuration files, and enhanced test execution capabilities. The package update requires migrating to a new package rather than a simple version upgrade. The Microsoft Testing Platform is a new lightweight alternative to older testing frameworks, now supported in xUnit v3. Features like test pipeline startup, assembly fixtures, and improved assertions make testing more efficient and flexible. Additionally, there are improvements in test context handling, including adding warnings and attachments to test results.