This is the code repository for Building Blazor WebAssembly Applications with gRPC, published by Packt.
Learn how to implement source generators and gRPC in your Blazor apps for better performance
Want to stand out from the crowd using a book that is as performant and lightweight as the fantastic framework that it’s about? You’re in luck. 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.
This book covers the following exciting features:
- 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
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
@{ var i = 0; }
@while (i < chapters.Length)
{
var chapter = chapters[i];
<h2>Chapter no. @chapter.Number: @chapter.Title</h2>
i++;
}
Following is what you need for this book: 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-07).
Chapter | Software/Hardware required | OS required |
---|---|---|
1-07 | Visual Studio 2022 (Community) | Windows Mac OS X and Linux |
1-07 | Microsoft SQL Server 2019 | Windows Mac OS X and Linux |
1-07 | .NET 6 | Windows Mac OS X and Linux |
1-07 | Blazor | Windows Mac OS X and Linux |
1-07 | Entity Framework Core | Windows Mac OS X and Linux |
1-07 | gRPC | Windows Mac OS X and Linux |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Václav Pekárek is an experienced developer with 10 years of web development experience using .NET and C#. He is also a Microsoft Certified Professional.Václav is the owner of a small IT company in Ostrava, Czech Republic. You can contact him on his LinkedIn page, on Twitter at @vaclavpekarek, or via email at [email protected].
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.