Web Development with Blazor
Packt Publishing Limited (Verlag)
978-1-80324-149-4 (ISBN)
Purchase of the print or Kindle book includes a free eBook in PDF format.
Key Features
Create a production-ready Blazor application from start to finish
Learn Blazor fundamentals, gain actionable insights, and discover best practices
Find out how, when, and why to use Blazor Server and Blazor WebAssembly, as well as Blazor Hybrid
Book DescriptionBlazor 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.What you will learn
Understand the different technologies that can be used with Blazor, such as Blazor Server, Blazor WebAssembly, and Blazor Hybrid
Find out how to build simple and advanced Blazor components
Explore the differences between Blazor Server and Blazor WebAssembly projects
Discover how Minimal APIs work and build your own API
Explore existing JavaScript libraries in Blazor and JavaScript interoperability
Learn techniques to debug your Blazor Server and Blazor WebAssembly applications
Test Blazor components using bUnit
Who this book is forThis book is for .NET web developers and software developers who want to use their existing C# skills to build interactive SPA applications running either inside the web browser using Blazor WebAssembly, or on the server using Blazor Server.
You’ll need intermediate-level web-development skills, basic knowledge of C#, and prior exposure to .NET web development before you get started; the book will guide you through the rest.
Jimmy Engström has been developing ever since he was 7 years old and got his first computer. He loves to be on the cutting edge of technology, trying new things. When he got wind of Blazor, he immediately realized its potential and adopted it when it was in beta. He has been running Blazor in production since it was launched by Microsoft. His passion for the .NET industry and community has taken him around the world, speaking about development. Microsoft has recognized this passion by awarding him the Microsoft Most Valuable Professional award 10 years in a row.
Table of Contents
Hello Blazor
Creating Your First Blazor App
Managing State
Understanding Basic Blazor Components
Creating Advanced Blazor Components
Building Forms with Validation
Creating an API
Authentication and Authorization
Sharing Code and Resources
JavaScript Interop
Managing State Part 2
Debugging the Code
Testing
Deploy to Production
Moving from, or Combining, an Existing Site
Going Deeper into WebAssembly
Examining Source Generators
Visiting .NET MAUI
Where to Go from Here
Erscheinungsdatum | 21.03.2023 |
---|---|
Vorwort | Jeff Fritz |
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 191 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Software Entwicklung |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 1-80324-149-7 / 1803241497 |
ISBN-13 | 978-1-80324-149-4 / 9781803241494 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich