-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Update diagnostics documentation #36217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated the date and improved clarity in diagnostics instructions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Blazor WebAssembly Event Pipe diagnostics documentation to improve developer experience and best practices. The changes address issue #36216 by adding MSBuild conditions to restrict diagnostic features to Debug builds and providing clearer guidance on file locations.
Key changes:
- Added MSBuild conditions to all diagnostic PropertyGroup elements to limit diagnostics to Debug builds only
- Specified that
.nettrace
files are typically downloaded to the Downloads folder on Windows - Enhanced the metrics collection section with an example showing how to collect custom lifecycle meter data
Comments suppressed due to low confidence (1)
aspnetcore/blazor/performance/webassembly-event-pipe-diagnostics.md:89
- Corrected spelling of 'devoloper' to 'developer'.
Call the preceding API from either a browser devoloper tools console or JavaScript code of the app.
aspnetcore/blazor/performance/webassembly-event-pipe-diagnostics.md
Outdated
Show resolved
Hide resolved
aspnetcore/blazor/performance/webassembly-event-pipe-diagnostics.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
aspnetcore/blazor/performance/webassembly-event-pipe-diagnostics.md
Outdated
Show resolved
Hide resolved
Updated warnings and conditions for enabling diagnostics in production to clarify performance impacts.
Fixes #36216
Pavel ... In addition to the new command example, can we also specify the
Downloads
folder for Windows because that's where the.nettrace
files go (usually, I guess)?... and all entries in the
.nettrace
files that I'm generating only showmeterName
s ofSystem.Runtime
.Internal previews