Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Mastering Blazor WebAssembly
Mastering Blazor WebAssembly

Mastering Blazor WebAssembly: A step-by-step guide to developing advanced single-page applications with Blazor WebAssembly

eBook
€17.99 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Mastering Blazor WebAssembly

Part 1: Blazor WebAssembly Essentials

This part will introduce you to Blazor WebAssembly and guide you to set up your first Blazor project. After that, you will learn about the concept of components, which are the building blocks of every Blazor app. You will start by using Razor and C# to create basic and advanced components, and then you will learn how to use parameters in Blazor to implement communication between app components, and how to style them. You will also learn about different types of components, such as layouts and templated components, and how to employ a Razor class library for reusability.

This part has the following chapters:

  • Chapter 1, Understanding the Anatomy of a Blazor WebAssembly Project
  • Chapter 2, Components in Blazor
  • Chapter 3, Developing Advanced Components in Blazor
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Explore Blazor WebAssembly through a systematic, step-by-step approach
  • Discover the concepts essential to develop and deploy real-world SPAs
  • Create robust components and develop efficient unit tests by using the bUnit framework

Description

Blazor WebAssembly is a revolutionary technology in software development that enables you to develop web applications with a rich user interface using C# without JavaScript. It can be run natively in the browser and soon on mobile apps with .NET MAUI, making it a superweapon in the .NET developer’s toolbox. This capability has opened the doors for the JavaScript community to have a stable framework to build single page applications (SPAs) maintained by Microsoft and driven by the community. Mastering Blazor WebAssembly is a complete resource that teaches you everything you need to build client-side web applications using C# & .NET 7.0. Throughout this book, you’ll discover the anatomy of a Blazor WebAssembly project, along with the build, style, and structure of the components. You’ll implement forms to catch user input and collect data, as well as explore the topics of navigating between the pages in depth. The chapters will guide you through handling complex scenarios like RenderTrees, writing efficient unit tests, using variant security methods, and publishing the app to different providers, all in a practical manner. By the end of this book, you’ll have the skills necessary to build web apps with Blazor WebAssembly, along with the basics for a future in mobile development with .NET MAUI and Blazor.

Who is this book for?

This book is for existing .NET developers eager to leverage their C# skills to build single page applications without relying on JavaScript frameworks, as well as for JavaScript developers curious about Blazor's capabilities and its user-friendly approach to web development. Tech enthusiasts seeking an in-depth understanding of Blazor's inner workings will also find this guide useful for discovering and mastering Blazor's powerful and intuitive web development capabilities.

What you will learn

  • Develop basic and advanced components in Blazor to meet your application's specific requirements
  • Utilize Blazor forms to efficiently collect user input and handle data validation
  • Enhance your app with JavaScript logic, integrating it smoothly within your Blazor application
  • Call RESTful APIs in Blazor, enabling seamless integration with external services
  • Explore advanced identity and security techniques in Blazor ensuring robust authentication and authorization mechanisms
  • Build reliable apps by implementing unit testing and effective error handling strategies

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 18, 2023
Length: 370 pages
Edition : 1st
Language : English
ISBN-13 : 9781803233161
Vendor :
Microsoft
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Aug 18, 2023
Length: 370 pages
Edition : 1st
Language : English
ISBN-13 : 9781803233161
Vendor :
Microsoft
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 131.97
C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals
€44.99
Mastering Blazor WebAssembly
€33.99
Web Development with Blazor
€52.99
Total 131.97 Stars icon

Table of Contents

20 Chapters
Part 1: Blazor WebAssembly Essentials Chevron down icon Chevron up icon
Chapter 1: Understanding the Anatomy of a Blazor WebAssembly Project Chevron down icon Chevron up icon
Chapter 2: Components in Blazor Chevron down icon Chevron up icon
Chapter 3: Developing Advanced Components in Blazor Chevron down icon Chevron up icon
Part 2: App Parts and Features Chevron down icon Chevron up icon
Chapter 4: Navigation and Routing Chevron down icon Chevron up icon
Chapter 5: Capturing User Input with Forms and Validation Chevron down icon Chevron up icon
Chapter 6: Consuming JavaScript in Blazor Chevron down icon Chevron up icon
Chapter 7: Managing Application State Chevron down icon Chevron up icon
Chapter 8: Consuming Web APIs from Blazor WebAssembly Chevron down icon Chevron up icon
Chapter 9: Authenticatiwng and Authorizing Users in Blazor Chevron down icon Chevron up icon
Chapter 10: Handling Errors in Blazor WebAssembly Chevron down icon Chevron up icon
Part 3: Optimization and Deployment Chevron down icon Chevron up icon
Chapter 11: Giving Your App a Speed Boost Chevron down icon Chevron up icon
Chapter 12: RenderTree in Blazor Chevron down icon Chevron up icon
Chapter 13: Testing Blazor WebAssembly Apps Chevron down icon Chevron up icon
Chapter 14: Publishing Blazor WebAssembly Apps Chevron down icon Chevron up icon
Chapter 15: What’s Next? Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(19 Ratings)
5 star 89.5%
4 star 5.3%
3 star 5.3%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Amazon Customer Aug 19, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I recently had the pleasure of reading a captivating book on Blazor WebAssembly. This book masterfully delves into the intricacies of Blazor WebAssembly development, making it an excellent resource for both beginners and experienced developers. The author’s thoughtful explanations and step-by-step examples make learning this technology a breeze. I’m truly grateful for the clarity with which complex concepts are presented, making it a delightful and educational read. Without a doubt, this book is a must-have for anyone looking to explore the world of Blazor WebAssembly.
Amazon Verified review Amazon
R. Sutherland Aug 21, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book as a whole, and each chapter in part, takes the user from basics to deep understanding through straightforward content and examples. Before reading this book, I contributed to a Blazor project on a team because I knew C#. After reading, I can contribute to a Blazor project because I know and understand Blazor and C#.There are three things that I appreciate about this book. First, each chapter (except the final) ends with a "Further reading" section. This is a curated list of valuable resources to dig deeper into specific topics. This section isn't in the last chapter because that chapter is all about "What's Next?".Second, The sample project used throughout the book is clean and demonstrates well-crafted code. Each chapter builds upon the previous work.Finally, the author shows how to do a lot within Visual Studio, but Visual Studio isn't his focus. He uses the CLI tools a lot too. The more I write code, the more I want to stay on the command line and my fingers at the keyboard. Demonstrating the CLI tooling helps with this.
Amazon Verified review Amazon
David Evans Aug 19, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Mastering Blazor WebAssembly has become my new go-to reference for all of my Blazor projects. This book does an awesome job of covering all the important aspects of Blazor development in a clear and concise way. Ahmad gives tons of easy-to-follow code examples with straightforward explanations. I would strongly recommend this book for both beginners who are new to Blazor development as well as experienced Blazor developers who are looking for a handy reference.
Amazon Verified review Amazon
fromtheotherbay May 23, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
In the 25+ years I have been in the world of software engineering, I have found it incredibly hard to find technical material that address the full journey of mastering a subject. More often than not, books are either too basic - trying to teach arrays and loops - or too advanced for an entry level person.Once in a blue moon, an exceptional book breaks that norm - and Ahmad's book on Blazor is certainly one of them.I felt that this book can take someone on a wholesome exploration of the wonderful world of Blazor - starting from the absolute fundamentals to really advanced level stuff.The book follows an agreeable and smooth gradient - slowly getting into deeper aspects of stuff - and from Chapter 9 onwards it starts digging into the innards of the framework. His coverage of quirky topics like Auth has been done with great clarity and precision.Personally I felt Chapter 12 with in-depth coverage of the Blazor RennderTree - and later chapters delving deeper into WebAssembly as extremely valuable. They deepened my understanding of Blazor greatly.The author also runs a very successful youtube channel where he presents cutting edge developments on the .NET/Azure stack, and I have found them to be very rich and informative.Great job Ahmad - and we're eager to see more from you in the coming years!
Amazon Verified review Amazon
John D. Aug 23, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I really learned a lot going through this book, step-by-step. Many real world scenarios are discussed and implemented, including authentication. The only down-side is that you need a fair amount of experience debugging issues that may arise (which is normal for any technical document). I highly recommend this book for mid-level to advanced developers.
Amazon Verified review Amazon