Skip to content

Latest commit

 

History

5,704 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-inspect

Inspect .NET libraries, NuGet packages, restored projects, and platform assemblies without loading inspected code. Explore metadata, APIs, dependencies, source, implementation details, and version differences from the CLI or browser.

Try it online: production demo · working build · nightly CoreCLR interpreter

Install or run

Install the global tool:

dotnet tool install -g dotnet-inspect
dotnet-inspect package System.Text.Json

Or run it without installing:

dnx dotnet-inspect -y -- package System.Text.Json

Daily driver

Inspect an API

dnx dotnet-inspect -y -- member JsonSerializer \
  --package System.Text.Json@10.0.0 Serialize:1 --tfm net10.0

Open the same API in Inspect Web.

Review package dependencies

dnx dotnet-inspect -y -- depends \
  --package System.Text.Json@10.0.0 --tfm net10.0

Open the same dependency view in Inspect Web.

Trace type dependencies

dnx dotnet-inspect -y -- depends JsonSerializer \
  --package System.Text.Json@10.0.0 --tfm net10.0

Open the same type dependency view in Inspect Web.

Delightful demos

Explore the .NET Options hub

dnx dotnet-inspect -y -- demo options-add-callgraph --mermaid

Explore the same inbound call graph in Inspect Web.

Follow the .NET JSON number parser

dnx dotnet-inspect -y -- demo stj-getdecimal-callgraph --mermaid

Explore the same runtime call graph in Inspect Web.

See how Aspire registers PostgreSQL

dnx dotnet-inspect -y -- demo aspire-postgres-callgraph --mermaid

Explore the same resource registration graph in Inspect Web.

Learn more

Requires the .NET 10 SDK or later. Licensed under MIT.

About

Tool to inspect .NET assets, like docker inspect and kubectl describe.

Resources

Stars

151 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages