Microsoft has new documentation for Blazor and gRPC in ASP.NET Core – Visual Studio Magazine


Microsoft offers new documentation for Blazor and gRPC in ASP.NET Core

With candidate versions of .NET 5 close at hand before the official GA debut in November, Microsoft has released new documentation for some of the more popular ASP.NET Core components, including Blazor and gRPC.

Blazor is gaining the most attention in the ASP.NET Core ecosystem these days, with client-side and server-side components that enable fully browser-based web development in C #, although it also works with the more traditional main programming language. for the web, JavaScript.

gRPC is an open source remote procedure call system created at Google in 2015 which replaces Windows Communication Foundation (WFC), which is part of the old .NET Framework which has not made the transition to .NET Core.

For Blazor, new docs articles include:

This second topic, lazy loading, has just been introduced for Blazor WebAssembly (the client-side component) in the recent release of .NET 5 Preview 8, the last preview before two upcoming candidate releases.

“Lazy loading allows you to improve the load time of your Blazor WebAssembly application by deferring the download of specific application dependencies until they are needed,” said Daniel Roth, Senior Program Director, ASP .NET, in an August 25 blog. Publish. “Lazy loading can be useful if your Blazor WebAssembly application has large dependencies that are only used for specific parts of the application.”

A hot topic
A hot topic (source: Ivan Sanz Carasa).

For gRPC, Microsoft recently released:

Speaking of this first topic on JSON Web APIs, Microsoft released gRPC-Web for .NET (and Blazor) in June, describing it as a substitute for JSON, with better performance.

“We have worked with the Blazor team to make gRPC-Web a great end-to-end development experience when used in Blazor WebAssembly applications,” said James Newton-King, Senior Software Engineer, ASP.NET , from Microsoft, in a June 16 press release. Blog Publish. “Not only will gRPC tools automatically generate strongly typed clients so that you can invoke gRPC services from your Blazor application, but gRPC offers significant performance advantages over JSON.”

gRPC has also been a focal point of Visual Studio Magazine writer Peter Vogel, who has written the following articles on WCF Replacement.

Microsoft, who detailed the above new documents in a recent “what’s new“in the ASP.NET Core post, also reported that it had published a new article titled Publish an ASP.NET Core web API to Azure API Management with Visual Studio.

The post lists many other updated articles on Blazor, gRPC, and MVC and thanked 20 community contributors for their help on the open source project.

About the Author

David Ramel is editor and writer for Converge360.

Sam D. Gomez