grpc-dotnet icon indicating copy to clipboard operation
grpc-dotnet copied to clipboard

Blazor WASM: Support for gRPC-Web developer tooling in Chrome

Open ChristianWeyer opened this issue 4 years ago • 5 comments

For plain JS clients we can use this tool to debug and analyze gRPC-Web right in Chrome: https://chrome.google.com/webstore/detail/grpc-web-developer-tools/ddamlpimmiapbcopeoifjfmoabdbfbjj?hl=en

https://github.com/SafetyCulture/grpc-web-devtools

Are there any plans to have a similar tool for gRPC-Web in Blazor WASM?

Thanks, -Christian

ChristianWeyer avatar Aug 10 '20 20:08 ChristianWeyer

No plans at the moment.

It might be possible to replicate the logic here - https://github.com/SafetyCulture/grpc-web-devtools/blob/c5a71e2168c40eb55aa094402e519580e109528d/public/content-script.js - and send events to the window using a .NET interceptor. That would allow the same extension to be reused for JS and WASM.

JamesNK avatar Aug 10 '20 21:08 JamesNK

Hi James,

first congrats on releasing a great gRPC stack in .NET 5 :-) Do you already know whether you can and will be working on the tooling above?

Thanks.

ChristianWeyer avatar Nov 16 '20 12:11 ChristianWeyer

No plans at the moment. There hasn't been much developer interest so it isn't a high priority.

JamesNK avatar Nov 17 '20 01:11 JamesNK

OK, thanks.

ChristianWeyer avatar Nov 17 '20 06:11 ChristianWeyer

FYI: There is now a PoC showing how to do this integration: https://github.com/thinktecture-labs/blazor-grpc-web-devtooling

.cc @JamesNK

ChristianWeyer avatar May 26 '22 10:05 ChristianWeyer