Microsoft has the framework grpc-web for .Net ied as a production render – grpc calls with .Net can now be used directly in the browser, without intermediate proxy. According to the provider, grpc is a rpc framework (remote procedure call), which is based, among other things, on http / 2 and protocol buffers. The open standard supports numerous programming languages and should also be available from this version .Net fully support.
Grpc-web allows .Net development in the browser
Experimental support had already received the project in january 2020, on the basis of early adopters’ feedback received since then, the project team took amendments. The technology itself behind grpc-web is not new, a stable client for java has existed for a long time and also a proxy. The version of grpc-web for java has been generally available since the fall of 2018.
With grpc-web, several scenarios should now also for .Net developer open: calls from with asp.Net core created apps in the browser are now apparently possible. This is of interest, since calls from grpc http / 2 over the browser apis are not possible yet: grpc-web should offer a viable alternative. Also from other platforms as .Net core off grpc calls can be performed with the new tool, for example, to use blazor and xamarin services. For more lingings, grpc-web apparently offers a workaround to the .Lift net development in the browser.
What is grpc?
Grpc is a origionary of google (hence the g before rpc) developed, swelled system for remote procedure calls (rpc). It uses http / 2 as transport and protocol buffers as interface description language (idl). It has features such as authentication and bidirectional streaming. In addition it works language and platform.
More details are in the release notes to grpc-web for .Net. Further information can be found in the project page to grpc-web at github. Interested parties can be informed about the background in the blog entry to the experimental release.