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 is designed to support almost all versions of .NET, providing broad compatibility across the entire .NET ecosystem:

  • .NET 10.0 - Latest .NET version with full feature support
  • .NET 6.0 - Long-Term Support (LTS) version
  • .NET Standard 2.1 - Compatible with .NET Core 3.0+, .NET 5+
  • .NET Standard 2.0 - Maximum compatibility including .NET Framework 4.6.1+, .NET Core 2.0+, Mono, Xamarin, and Unity

By targeting .NET Standard 2.0, Dumpify works with a wide range of platforms including .NET Framework, .NET Core, .NET 5+, Mono, Xamarin, and Unity. This means you can use Dumpify in virtually any .NET project, from legacy .NET Framework applications to the latest .NET 10 projects.


License

Dumpify is licensed under the MIT License.