Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Pekarek, Václav.

Title Building Blazor WebAssembly Applications with GRPC [electronic resource] : Learn How to Implement Source Generators and GRPC in Your Blazor Apps for Better Performance / Václav Pekárek. [O'Reilly electronic resource]

Imprint Birmingham : Packt Publishing, Limited, 2022.
QR Code
Description 1 online resource (197 p.)
Note Description based upon print version of record.
Contents Cover -- Title Page -- Copyright and Credits -- Contributors -- Table of Contents -- Preface -- Chapter 1: Introducing Blazor, gRPC, and Source Generators -- Technical requirements -- Using the Blazor framework to create websites -- Using Blazor WebAssembly for single-page applications -- Harnessing advantages of progressive web applications using Blazor -- Understanding how Blazor uses Razor syntax -- Using JavaScript in Blazor -- Understanding the REST API as the default Blazor communication interface -- Understanding gRPC and how it is different from REST -- How protocol buffers work
Why we still use REST -- What are source generators and how do they work? -- Summary -- Further reading -- Chapter 2: Creating a Blazor WebAssembly Application -- Technical requirements -- Learning how to write Razor syntax -- Writing implicit Razor expressions -- Writing explicit Razor expressions -- Writing inline expressions -- Writing code block expressions -- Writing control structures -- Writing top-level directives -- Writing inline directives -- Creating Razor components -- Using components in other components -- Passing parameters to components -- Creating components with child content
Communicating with the parent component -- Understanding the component life cycle -- Structuring component code -- Understanding page routing in Blazor -- Navigating between pages -- Page directive -- Route constraints -- Catch-all parameters -- Project overview and preparation -- Creating a demo Blazor WebAssembly project -- Examining the project -- Preparing the demo project -- Summary -- Chapter 3: Creating a Database Using Entity Framework Core -- Technical requirements -- Creating a data repository using EF -- Installing NuGet packages -- Enabling EF -- Creating database representation in C#
Configuring EF Core -- Migrating code to the database -- Creating entities in the database -- Using generic services for data manipulation -- Creating models -- Mappings between models -- Creating data services -- Creating a new record -- Reading a single record -- Reading all records -- Updating records -- Deleting records -- Registering data services -- Summary -- Further reading -- Chapter 4: Connecting Client and Server with REST API -- Technical requirements -- Exposing CRUD operations in API controllers -- Consuming a REST API in Blazor components -- Creating and editing data
Viewing the data -- Extending the demo project -- Summary -- Chapter 5: Building gRPC Services -- Technical requirements -- What are the benefits of using gRPC services? -- How does communication work in gRPC? -- Understanding the protocol buffer language -- Creating messages -- Field types -- Default values -- The reserved keyword -- Defining methods -- gRPC services in C# -- Two ways of implementing -- Implementing gRPC services using .proto files -- Creating Blazor components -- Preparation for generic components -- Creating generic list components -- Creating generic form components
Note Summary
Summary 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.
Subject Web sites -- Authoring programs.
Web site development.
Sites Web -- Systèmes-auteur.
Sites Web -- Développement.
Web site development
Web sites -- Authoring programs
Other Form: Print version: Pekarek, Vaclav Building Blazor WebAssembly Applications with GRPC Birmingham : Packt Publishing, Limited,c2022
ISBN 9781804613290
1804613290
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information