E-book details

Web Development with Blazor. A practical guide to start building interactive UIs with C# 11 and .NET 7 - Second Edition

Web Development with Blazor. A practical guide to start building interactive UIs with C# 11 and .NET 7 - Second Edition

Jimmy Engström, Jeff Fritz

Ebook
Blazor is an essential tool if you want to build interactive web apps without JavaScript, but it has a learning curve. Updated with the latest code in .NET 7 and C# 11 and written by someone who adopted Blazor early, this book will help you overcome the challenges associated with being a beginner with Blazor and teach you the best coding practices.

You’ll start by learning how to leverage the power of Blazor and exploring the full capabilities of both Blazor Server and Blazor WebAssembly. Then you'll move on to the practical part, centered around a sample project – a blog engine. You'll apply all your newfound knowledge about creating Blazor projects, the inner workings of Razor syntax, validating forms, and creating your own components.

This new edition also looks at source generators, dives deeper into Blazor WebAssembly with ahead-of-time, and includes a dedicated new chapter demonstrating how to move components of an existing JavaScript (Angular, React) or MVC-based website to Blazor or combine the two. You’ll also see how to use Blazor (Hybrid) together with .NET MAUI to create cross-platform desktop and mobile applications.

When you reach the end of this book, you'll have the confidence you need to create and deploy production-ready Blazor applications, and you'll have a big-picture view of the Blazor landscape.
  • 1. Hello Blazor
  • 2. Creating Your First Blazor App
  • 3. Managing State
  • 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. Deploy 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
  • Title: Web Development with Blazor. A practical guide to start building interactive UIs with C# 11 and .NET 7 - Second Edition
  • Author: Jimmy Engström, Jeff Fritz
  • Original title: Web Development with Blazor. A practical guide to start building interactive UIs with C# 11 and .NET 7 - Second Edition
  • ISBN: 9781803231358, 9781803231358
  • Date of issue: 2023-03-16
  • Format: Ebook
  • Item ID: e_39ta
  • Publisher: Packt Publishing