A basic idea of getting some information about the current Blazor app, like Routes, Rendered components and instance information. It is hard influenced by the Nuxt.js Devtools.
- List of routes with navigation to the selected route
- Overview over current rendered components
- Inspection of the component instances (public propeties and private fields)
- Works with Wasm and Server Rendering
To use these tools just reference the Blazor.DevTools project to your Blazor Wasm or Server Project and add the following code:
// Only needed for BlazorWebAssembly projects
#if DEBUG
builder.AddDevTools();
#endif You should only reference the package for Debug builds since it uses the ...lib.module.js auto instantiating mechanism.
There are many other possible things to add into this project. But for now only my most used ones are implemented.
Feel free to make a PR for adding more stuff.
There are a Server and Wasm exmample located in the Examples directory.
MIT License


