10 ms·
This is pretty cool! Do you think something similar is possible for c#, too?
by hansoolo 2y ago
This is pretty cool! Do you think something similar is possible for c#, too?
- neonsunset 2y agoThere'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-aspire-simplifying-cloud-native-development-with-dotnet-8/#observability 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.
- hansoolo 2y agoThank 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.