Best of .NETOctober 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 dzDZone·3y

    Building a Microservices API Gateway

    Learn how to build a Microservices API Gateway using YARP in ASP.NET Core with step-by-step instructions and code examples.

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

    Interfaces vs Abstract Classes

  4. 4
    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.

  5. 5
    Article
    Avatar of lambdatestLambdaTest·3y

    How to Run Multiple NUnit Test Cases

    Learn how to run multiple test cases in NUnit and Selenium using data-driven testing and parallelization. NUnit is an open-source unit testing framework for .NET languages. It provides a simple and intuitive way to write and execute tests. Data-driven testing allows you to test your code with multiple input datasets, and NUnit supports parallel execution of tests to reduce overall test execution time.

  6. 6
    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.

  7. 7
    Article
    Avatar of auth0Auth0·3y

    .NET 8: What's New for Authentication and Authorization

    The release of .NET 8 brings authentication and authorization enhancements such as the new bearer token authentication handler for token-based authentication, Identity API endpoints for user authentication and account management, and simplification in defining custom authorization policies.

  8. 8
    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.

  9. 9
    Article
    Avatar of itnextITNEXT·3y

    End-to-End Type Safety with .NET 7 Web APIs, TypeScript, and OpenAPI

    Learn how to achieve end-to-end type safety with .NET 7 Web APIs, TypeScript, and OpenAPI. Set up the frontend and backend configurations, generate OpenAPI schema and TypeScript client bindings, and enable hot reload for development.

  10. 10
    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.

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

    Why Do Older .NET Developers Hate Modern .NET?

  12. 12
    Article
    Avatar of andrewlock.NET Escapades·3y

    Updates to Docker images in .NET 8

    The article describes the updates to Docker images in .NET 8. It covers the support for chiseled containers, smaller images and improved R2R with composite images, running container images with non-root users, changes in port default for ASP.NET Core apps, dependency changes in Alpine .NET 8 images, version-specific tags for Windows images, and changes in the default Linux distros for the images.

  13. 13
    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.

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

    Events are an API. Treat them that way!