Web Development with Blazor - Third Edition: A practical guide to start building interactive UIs with C# 12 and .NET 8
暫譯: Blazor 網頁開發 - 第三版:使用 C# 12 和 .NET 8 建立互動式使用者介面的實用指南
Engström, Jimmy
- 出版商: Packt Publishing
- 出版日期: 2024-04-29
- 售價: $1,850
- 貴賓價: 9.5 折 $1,758
- 語言: 英文
- 頁數: 366
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1835465919
- ISBN-13: 9781835465912
-
相關分類:
.NET、C#
立即出貨 (庫存 < 3)
商品描述
Develop modern web UIs with Blazor Server and Blazor WebAssembly - now introducing Streaming and Static Server-Side Rendering (SSR) and flexible hosting models in .NET 8
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
- Find out how, when, and why to use Blazor Server and Blazor WebAssembly, as well as Blazor Hybrid
- Explore crucial new coverage of streaming rendering, server-side rendering (SSR), flexible hosting models, and Blazor templates
Book Description
Web Development with Blazor is your essential guide to building and deploying interactive web applications in C# - without relying on JavaScript.
Written by an early Blazor adopter and updated for .NET 8, this book takes you through the end-to-end development of an example app, helping you to overcome common challenges along the way. You'll pick up both Blazor Server and Blazor WebAssembly and discover cutting-edge tools to enrich your development experience.
Responding to evolving needs, this edition introduces flexible hosting models, allowing you to mix and match hosting approaches to create flexible and scalable Blazor applications. It also presents the new Blazor templates, which provide ready-made solutions to simplify and expedite development. You'll learn about the game-changing server-side rendering (SSR), a hybrid hosting model blending the strengths of Blazor Server and Blazor WebAssembly, as well as streaming rendering, a new technique that boosts the performance and user experience of Blazor apps.
By the end of this book, you'll have the confidence you need to create and deploy production-ready Blazor applications using best practices, along with a big-picture view of the Blazor landscape.
What you will learn
- Understand how and when to use Blazor Server, Blazor WebAssembly, and Blazor Hybrid
- Learn how to build simple and advanced Blazor components
- Explore how Minimal APIs work and build your own API
- Discover how to use streaming rendering and server-side rendering (SSR)
- Mix and match different hosting models to create flexible and scalable Blazor apps
- Familiarise yourself with the new Blazor templates that simplify development
- Debug your Blazor Server and Blazor WebAssembly applications
Who this book is for
This book is for .NET web developers and software developers who want to use their existing C# skills to build interactive web applications running either inside the web browser using Blazor WebAssembly, on the server using Blazor Server, or a combination of the two.
You'll need basic knowledge of C# and prior exposure to .NET web development before you get started; the book will guide you through the rest.
Table of Contents
- Hello Blazor
- Creating Your First Blazor App
- Managing State - Part 1
- 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
- Deploying to Production
- Moving from, or Combining, an Existing Site
- Going Deeper into WebAssembly
- Examining Source Generators
- Visiting .NET MAUI
- Where to Go from Here
商品描述(中文翻譯)
**使用 Blazor Server 和 Blazor WebAssembly 開發現代網頁 UI - 現在在 .NET 8 中引入串流和靜態伺服器端渲染 (SSR) 以及靈活的託管模型**
**購買印刷版或 Kindle 書籍包括免費的 PDF 格式電子書**
**主要特點**
- 從頭到尾創建一個生產就緒的 Blazor 應用程式
- 瞭解何時、如何以及為什麼使用 Blazor Server 和 Blazor WebAssembly,以及 Blazor Hybrid
- 探索串流渲染、伺服器端渲染 (SSR)、靈活的託管模型和 Blazor 模板的重要新內容
**書籍描述**
《Web Development with Blazor》是您構建和部署互動式網頁應用程式的必備指南,使用 C# 而不依賴 JavaScript。
本書由早期的 Blazor 使用者撰寫,並針對 .NET 8 進行更新,帶您完成一個範例應用程式的端到端開發,幫助您克服過程中的常見挑戰。您將學習 Blazor Server 和 Blazor WebAssembly,並發現尖端工具以豐富您的開發體驗。
針對不斷演變的需求,本版引入了靈活的託管模型,允許您混合和匹配託管方法,以創建靈活且可擴展的 Blazor 應用程式。它還介紹了新的 Blazor 模板,提供現成的解決方案以簡化和加速開發。您將了解改變遊戲規則的伺服器端渲染 (SSR),這是一種混合託管模型,結合了 Blazor Server 和 Blazor WebAssembly 的優勢,以及串流渲染,這是一種提升 Blazor 應用程式性能和用戶體驗的新技術。
在本書結束時,您將擁有創建和部署生產就緒的 Blazor 應用程式所需的信心,並對 Blazor 的全貌有一個大致的了解。
**您將學到的內容**
- 瞭解何時和如何使用 Blazor Server、Blazor WebAssembly 和 Blazor Hybrid
- 學習如何構建簡單和高級的 Blazor 元件
- 探索 Minimal APIs 的工作原理並構建自己的 API
- 發現如何使用串流渲染和伺服器端渲染 (SSR)
- 混合和匹配不同的託管模型以創建靈活且可擴展的 Blazor 應用程式
- 熟悉簡化開發的新 Blazor 模板
- 調試您的 Blazor Server 和 Blazor WebAssembly 應用程式
**本書適合誰**
本書適合 .NET 網頁開發人員和軟體開發人員,他們希望利用現有的 C# 技能來構建在網頁瀏覽器中運行的互動式網頁應用程式,使用 Blazor WebAssembly、在伺服器上使用 Blazor Server,或兩者的組合。
在開始之前,您需要具備基本的 C# 知識和先前接觸 .NET 網頁開發的經驗;本書將指導您完成其餘部分。
**目錄**
1. Hello Blazor
2. 創建您的第一個 Blazor 應用程式
3. 管理狀態 - 第 1 部分
4. 理解基本的 Blazor 元件
5. 創建高級 Blazor 元件
6. 構建帶有驗證的表單
7. 創建 API
8. 認證和授權
9. 共享代碼和資源
10. JavaScript 互操作
11. 管理狀態 - 第 2 部分
12. 調試代碼
13. 測試
14. 部署到生產環境
15. 從現有網站遷移或結合
16. 深入了解 WebAssembly
17. 檢查源生成器
18. 參觀 .NET MAUI
19. 接下來該去哪裡