A practical guide to building interactive UIs with C# 12 and .NET 8
366 stránek
13 hodin čtení
Dive into web development with Blazor in this essential guide to creating and deploying production-ready Blazor apps, updated to bring you up to speed with the new features and enhancements introduced in .NET 8.
A practical guide to start building interactive UIs with C# 11 and .NET 7
360 stránek
13 hodin čtení
Develop modern web UIs with Blazor Server and Blazor WebAssembly. 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
- Understand when and why to use Blazor Server, Blazor WebAssembly, and Blazor Hybrid
Book Description:
Blazor is essential for building interactive web apps without JavaScript, though it has a learning curve. This updated edition, featuring the latest code in .NET 7 and C# 11, helps beginners overcome challenges and learn best coding practices. You’ll explore the full capabilities of Blazor Server and Blazor WebAssembly, centered around a sample project—a blog engine. You'll learn to create Blazor projects, understand Razor syntax, validate forms, and build custom components. The book also covers source generators, delves into Blazor WebAssembly with ahead-of-time compilation, and includes a new chapter on transitioning components from existing JavaScript (Angular, React) or MVC-based sites to Blazor. Additionally, it demonstrates how to use Blazor Hybrid with .NET MAUI for cross-platform applications.
What You Will Learn:
- Different technologies compatible with Blazor
- Building simple and advanced Blazor components
- Differences between Blazor Server and Blazor WebAssembly
- Creating Minimal APIs and using Jav
A hands-on guide for .NET developers to build interactive UIs with C#
310 stránek
11 hodin čtení
Develop modern web UIs quickly with server-side Blazor and Blazor WebAssembly. This essential tool allows you to build interactive web apps without JavaScript, though it presents its own learning curve. The content will help you tackle common challenges faced by new developers and teach best coding practices. You'll begin by leveraging Blazor's power and exploring the full capabilities of both Blazor Server and Blazor WebAssembly. The practical section focuses on a sample project—a blog engine—where you’ll apply your knowledge of creating Blazor projects, understanding Razor syntax, validating forms, and building custom components. Key concepts in web development with Blazor will be covered, allowing for immediate application. By demonstrating how components work together, this resource will help you navigate typical roadblocks encountered by novice Blazor developers and encourage experimentation in your other projects. By the end, you’ll have the confidence to create and deploy production-ready Blazor applications. This guide is ideal for .NET web or software developers looking to build web UIs using C#. Intermediate web-development skills and basic C# knowledge are required to get started, with the content guiding you through the rest.