6

Using Popular Third-Party Libraries

This chapter is about some popular third-party libraries for .NET that enable you to perform actions that either are not possible with the core .NET libraries or are better than the built-in functionality. These actions include manipulating images with ImageSharp, logging with Serilog, mapping objects to other objects with AutoMapper, making unit test assertions with FluentAssertions, validating data with FluentValidation, and generating PDFs with QuestPDF.

This chapter covers the following topics:

  • Which third-party libraries are most popular?
  • Working with images
  • Logging with Serilog
  • Mapping between objects
  • Making fluent assertions in unit testing
  • Validating data
  • Generating PDFs

Which third-party libraries ...

Get Apps and Services with .NET 8 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.