Best of C#October 2023

  1. 1
    Article
    Avatar of discdotDiscover .NET·3y

    "Stop Using if else if else In Your Code!" | Code Cop #005

  2. 2
    Article
    Avatar of discdotDiscover .NET·3y

    Interfaces vs Abstract Classes

  3. 3
    Article
    Avatar of communityCommunity Picks·3y

    What's new in C# 12: overview

    C# 12 introduces several new features including primary constructors, terse syntax for collections, anonymous function parameters by default, alias for any type, the nameof refinement, inline arrays, and code interception.

  4. 4
    Article
    Avatar of codemazeCode Maze·3y

    Understanding the Unit of Work Pattern in C#

    The unit of work pattern is a design pattern that separates the responsibility of managing transactions from the repositories in a data access layer. It allows multiple database operations to be grouped together as a single unit of work, ensuring data consistency. The advantages of using this pattern include abstraction, improved data consistency, and better performance. The unit of work pattern can be implemented with different ORM frameworks such as Entity Framework Core and Dapper.

  5. 5
    Article
    Avatar of discdotDiscover .NET·3y

    The Easiest Way to Create PDFs in .NET

    Learn how to easily create PDFs in .NET using the Quest PDF library. The library provides a fluent API for creating PDFs and offers a previewer for real-time customization. It is open source with licensing options available, making it a sustainable project. Pricing options for Quest PDF range from free for developers to affordable plans for companies.

  6. 6
    Article
    Avatar of milanjovanovicMilan Jovanović·3y

    Functional Error Handling in .NET With the Result Pattern

    Handle errors in a functional way using the Result pattern in .NET. The Result pattern allows you to express the intent that a method could fail, encapsulate application errors, and provide a functional way to handle them. You can also document application errors using the Error class.

  7. 7
    Article
    Avatar of discdotDiscover .NET·3y

    Why Do Older .NET Developers Hate Modern .NET?

  8. 8
    Article
    Avatar of dotnet.NET Blog·3y

    Now Generally Available

    Announcement of the general availability of C# Dev Kit, a Visual Studio Code extension that brings an improved C# development experience to Linux, macOS, and Windows. The kit leverages core C# language services and offers additional productivity value to developers. Updates and improvements will be made on a monthly basis.