Hacker News new | ask | show | jobs
by hansoolo 637 days ago
This is pretty cool! Do you think something similar is possible for c#, too?
1 comments

There's an event system that is integrated into all kinds of bits in the standard library and surrounding ecosystem, which plugs into all kinds of high level tools: dotnet-trace/-monitor/-counters, profiling in VS and Rider, etc. There are also telemetry hooks but I have not looked into them in closer details, supposedly that's what .NET Aspire uses.

I think a similar experience can be quickly achieved with tracing in aspire: https://devblogs.microsoft.com/dotnet/introducing-dotnet-asp...

It's a bit different but I don't know if anyone made a quick handy GUI tool to hook up to .NET's EventPipe and display its data in a nice way, but the extensive API for that is there.

Thank you. To be honest, I hadn't heard of Aspire before, so TIL.

From a quick skim read, it sounds similar in some aspects. And also it's a good starting point.