Book description
Explore the power of Blazor WebAssembly, gRPC, and source generators for easy and quick web development
Key Features
- Get to grips with integration between Blazor, gRPC, and source generators in real-life projects
- Develop a complete Blazor WebAssembly project that takes advantage of gRPC's capabilities
- Explore best practices for building a high-performance web application with Blazor and C#
Book Description
Building Blazor WebAssembly Applications with gRPC will take you to the next level in your web development career. After working through all the essentials of gRPC, Blazor, and source generators, you will be far from a beginner C# developer and would qualify as a developer with intermediate knowledge of the Blazor ecosystem.
After a quick primer on the basics of Blazor technology, REST, gRPC, and source generators, you'll dive straight into building Blazor WASM applications. You'll learn about everything from two-way bindings and Razor syntax to project setup. The practical emphasis continues throughout the book as you steam through creating data repositories, working with REST, and building and registering gRPC services. The chapters also cover how to manage source generators, C# and debugging best practices, and more. There is no shorter path than this book to solidify your gRPC-enabled web development knowledge.
By the end of this book, your knowledge of building Blazor applications with one of the most modern and powerful frameworks around will equip you with a highly sought-after skill set that you can leverage in the best way possible.
What you will learn
- Master routing and test your learning with demo applications
- Create service and controller classes for your API endpoints
- Use gRPC with Blazor instead of REST and revamp your applications
- Study partial classes, attributes, and more in source generators
- Write reusable Razor components and debug your code effectively
- Understand the semantic model of C# code
- Discover how to read and navigate through syntax trees
- Build dynamic websites without using JavaScript
Who this book is for
This book is for beginner C# developers who want to learn how to create more performant web apps with less code using Blazor, the gRPC protocol, and source generators. The book assumes a basic understanding of C#, HTML, and web development concepts.
Table of contents
- Building Blazor WebAssembly Applications with gRPC
- Contributors
- About the author
- About the reviewer
- Preface
- Chapter 1: Introducing Blazor, gRPC, and Source Generators
- Chapter 2: Creating a Blazor WebAssembly Application
- Chapter 3: Creating a Database Using Entity Framework Core
- Chapter 4: Connecting Client and Server with REST API
- Chapter 5: Building gRPC Services
- Chapter 6: Diving Deep into Source Generators
- Chapter 7: Best Practices for C# and gRPC
- Index
- Other Books You May Enjoy
Product information
- Title: Building Blazor WebAssembly Applications with gRPC
- Author(s):
- Release date: November 2022
- Publisher(s): Packt Publishing
- ISBN: 9781804610558
You might also like
book
Beginning Azure Static Web Apps: Building and Deploying Dynamic Web Applications with Blazor
Create rich and dynamic web applications on the Azure cloud platform using static web development techniques …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Microsoft Blazor: Building Web Applications in .NET
Build web applications in C# and Microsoft .NET that run in any modern browser. This second …
book
Hands-on Azure Functions with C#: Build Function as a Service (FaaS) Solutions
Build serverless solutions using Azure Functions. This book provides you with a deep understanding of Azure …