News

Microsoft Offers New Documentation for Blazor and gRPC in ASP.NET Core

With .NET 5 release candidates on tap ahead of an official November GA debut, Microsoft has published new documentation for some of the hottest ASP.NET Core components, including Blazor and gRPC.

Blazor is getting the most attention in the ASP.NET Core ecosystem these days, with client-side and server-side components that allow for browser-based web development entirely in C#, though it will also work with the more traditional, mainstay programming language for the web, JavaScript.

gRPC is an open source remote procedure call system created at Google in 2015 that's being positioned as a replacement for Windows Communication Foundation (WFC), which is part of the old .NET Framework that didn't make the transition to .NET Core.

For Blazor, new articles in the documentation include:

That second topic, lazy loading, was just introduced for Blazor WebAssembly (the client-side component) in the recent release of .NET 5 Preview 8, the last preview before two release candidates that are coming up.

"Lazy loading enables you to improve the load time of your Blazor WebAssembly app by deferring the download of specific app dependencies until they are required," said Daniel Roth, principal program manager, ASP.NET, in an Aug. 25 blog post. "Lazy loading may be helpful if your Blazor WebAssembly app has large dependencies that are only used for specific parts of the app."

A Hot Topic
A Hot Topic (source: Ivan Sanz Carasa).

For gRPC, Microsoft has recently published:

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

"We've worked with the Blazor team to make gRPC-Web a great end-to-end developer experience when used in Blazor WebAssembly apps," Microsoft's James Newton-King, principal software engineer, ASP.NET, said in a June 16 blog post. "Not only will gRPC tooling automatically generate strongly typed clients for you to call gRPC services from your Blazor app, but gRPC offers significant performance benefits over JSON."

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

Microsoft, which detailed the above new docs in a recent "what's new" in ASP.NET Core post, also indicated it 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 helping out on the open source project.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events