Skip to Content
Blazor in Action
book

Blazor in Action

by Chris Sainty
June 2022
Intermediate to advanced
344 pages
10h 10m
English
Manning Publications
Audiobook available

Overview

An example-driven guide to building reusable UI components and web frontends—all with Blazor, C#, and .NET.

In Blazor in Action, you will learn about:

  • Blazor + WebAssembly
  • Picking the right hosting model
  • Building reusable UI components
  • Building forms with validation
  • Integrating with JavaScript libraries
  • Securing your application
  • Testing your applications

Blazor in Action is a practical guide to building stunning UIs and client-side applications using C# and .NET. You’ll use the Blazor frontend framework to create a fun and exciting web application for plotting hiking routes. As you build up your new application, you’ll master the key features of Blazor, such as routing, forms and validation, and dynamic and reusable components. By the time you're done, you'll be ready to develop beautiful sites and apps that seamlessly execute your C# code natively in the browser.

The book is written to the most recent stable build of Blazor and seamlessly integrates fresh features from .NET 6.

About the Technology
Create rich web frontends without relying on JavaScript. Microsoft’s Blazor framework uses WebAssembly to extend the ultra-popular ASP.NET platform. In Blazor, you can build interactive web components that run natively in the browser without plug-ins or transpilers. And because it’s C# end-to-end, it’s easy to share code between the server and your web UI.

About the Book
Blazor in Action teaches you to create full-stack ASP.NET applications end-to-end in C#. You’ll start by learning to build Blazor web components, working through core topics like routing and forms. As you go, you’ll implement a hiking route web application that includes reusable code, integration with JavaScript libraries, and role-based security. To make sure your app is production ready, this practical book also covers state management, data persistence, and testing.

What's Inside
  • Dynamic and reusable UI components
  • Sharing client and server code
  • Role-based security using Auth0
  • Persisting state using local browser storage


    • About the Reader
      For web developers with C# and .NET experience.

      About the Author
      Chris Sainty has been a part of the Blazor community from the beginning. He’s an active blogger, open source developer, international speaker, and a Microsoft MVP.

      Quotes
      The right place to start your journey with Blazor.
      - Kalyan Chanumolu, Microsoft

      An excellent introduction and reference for Blazor development.
      - Jeff Smith, TJX

      Guides the user through the practical use of Blazor components and the concepts behind them. Fantastic book!
      - Jim Wilson, Open Applications Group

      A very well-conceived and well-executed introduction to Blazor and its use in full-stack development.
      - Mark Chalkley, MainStreetCities

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Fluent React

Fluent React

Tejas Kumar
Rust in Action

Rust in Action

Tim McNamara

Publisher Resources

ISBN: 9781617298646Publisher SupportPublisher Website