Book description
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
Table of contents
- inside front cover
- Blazor in Action
- Copyright
- dedication
- contents
- front matter
- 1 Starting your Blazor journey
- 2 Your first Blazor app
- 3 Working with Blazor’s component model
- 4 Routing
- 5 Forms and validation—Part 1: Fundamentals
- 6 Forms and validation—Part 2: Beyond the basics
- 7 Creating more reusable components
- 8 Integrating with JavaScript libraries
- 9 Securing Blazor applications
- 10 Managing state
- 11 Testing your Blazor application
- Appendix A. Adding an ASP.NET Core backend to a Blazor WebAssembly app
- Appendix B. Updating existing areas to use the API
- index
Product information
- Title: Blazor in Action
- Author(s):
- Release date: June 2022
- Publisher(s): Manning Publications
- ISBN: 9781617298646
You might also like
book
Fluent React
When it comes to building user interfaces on the web, React enables web developers to unlock …
book
Building Event-Driven Microservices
Organizations today often struggle to balance business requirements with ever-increasing volumes of data. Additionally, the demand …
book
Rust in Action
Rust in Action introduces the Rust programming language by exploring numerous systems programming concepts and techniques. …
book
API Design Patterns
A collection of best practices and design standards for web and internal APIs. In API Design …