Web Development with Blazor, 3rd Edition: A practical guide to start building interactive UIs with C# 12 and .NET 8 Front Cover

Web Development with Blazor, 3rd Edition: A practical guide to start building interactive UIs with C# 12 and .NET 8

  • Length: 366 pages
  • Edition: 3
  • Publisher:
  • Publication Date: 2024-04-29
  • ISBN-10: 1835465919
  • ISBN-13: 9781835465912

Develop modern web UIs with Blazor Server and Blazor WebAssembly – now introducing Streaming and Static Server-Side Rendering (SSR) and flexible hosting models in .NET 8

Key Features

  • Create a production-ready Blazor application from start to finish
  • Find out how, when, and why to use Blazor Server and Blazor WebAssembly, as well as Blazor Hybrid
  • Explore crucial new coverage of streaming rendering, server-side rendering (SSR), flexible hosting models, and Blazor templates

Book Description

Web Development with Blazor is your essential guide to building and deploying interactive web applications in C# – without relying on JavaScript.

Written by an early Blazor adopter and updated for .NET 8, this book takes you through the end-to-end development of an example app, helping you to overcome common challenges along the way. You’ll pick up both Blazor Server and Blazor WebAssembly and discover cutting-edge tools to enrich your development experience.

Responding to evolving needs, this edition introduces flexible hosting models, allowing you to mix and match hosting approaches to create flexible and scalable Blazor applications. It also presents the new Blazor templates, which provide ready-made solutions to simplify and expedite development. You’ll learn about the game-changing server-side rendering (SSR), a hybrid hosting model blending the strengths of Blazor Server and Blazor WebAssembly, as well as streaming rendering, a new technique that boosts the performance and user experience of Blazor apps.

By the end of this book, you’ll have the confidence you need to create and deploy production-ready Blazor applications using best practices, along with a big-picture view of the Blazor landscape.

What you will learn

  • Understand how and when to use Blazor Server, Blazor WebAssembly, and Blazor Hybrid
  • Learn how to build simple and advanced Blazor components
  • Explore how Minimal APIs work and build your own API
  • Discover how to use streaming rendering and server-side rendering (SSR)
  • Mix and match different hosting models to create flexible and scalable Blazor apps
  • Familiarise yourself with the new Blazor templates that simplify development
  • Debug your Blazor Server and Blazor WebAssembly applications

Who this book is for

This book is for .NET web developers and software developers who want to use their existing C# skills to build interactive web applications running either inside the web browser using Blazor WebAssembly, on the server using Blazor Server, or a combination of the two.

You’ll need basic knowledge of C# and prior exposure to .NET web development before you get started; the book will guide you through the rest.

Table of Contents

  1. Hello Blazor
  2. Creating Your First Blazor App
  3. Managing State – Part 1
  4. Understanding Basic Blazor Components
  5. Creating Advanced Blazor Components
  6. Building Forms with Validation
  7. Creating an API
  8. Authentication and Authorization
  9. Sharing Code and Resources
  10. JavaScript Interop
  11. Managing State – Part 2
  12. Debugging the Code
  13. Testing
  14. Deploying to Production
  15. Moving from, or Combining, an Existing Site
  16. Going Deeper into WebAssembly
  17. Examining Source Generators
  18. Visiting .NET MAUI
  19. Where to Go from Here
To access the link, solve the captcha.