Dumpify Documentation

Dumpify Logo

NuGet version Build NuGet Downloads GitHub License

Dumpify is a .NET library that improves productivity and debuggability by adding .Dump() extension methods to console applications. Dump any object in a structured, colorful way to Console, Debug, Trace, or your own custom output.


Table of Contents


Installation

Install Dumpify via NuGet:

# .NET CLI
dotnet add package Dumpify

# Package Manager Console
Install-Package Dumpify

Or use Visual Studio’s NuGet Package Manager.


Quick Example

using Dumpify;

// Dump any object to the console
new { Name = "Dumpify", Description = "Dump any object to Console" }.Dump();

Anonymous type dump


Features

  • Universal Object Dumping - Dump any .NET object including anonymous types, records, classes, structs
  • Structured Output - Objects are displayed in formatted, easy-to-read tables
  • Colorful Console - Syntax highlighting with customizable colors
  • Circular Reference Handling - Automatically detects and handles circular references
  • Collection Support - Arrays, Lists, Dictionaries, DataTables, and more
  • Member Filtering - Include/exclude properties, fields, public/private members
  • Multiple Outputs - Console, Debug, Trace, Text, or custom outputs
  • Highly Configurable - Extensive configuration options for all aspects of rendering
  • Fast - Optimized with descriptor caching for performance

Documentation

Getting Started

Configuration

API Reference

Features

Examples


Target Frameworks

Dumpify supports:

  • .NET 9.0
  • .NET Standard 2.1
  • .NET Standard 2.0

License

Dumpify is licensed under the MIT License.