Web Development with Blazor - Third Edition: A practical guide to start building interactive UIs with C# 12 and .NET 8
Engström, Jimmy
- 出版商: Packt Publishing
- 出版日期: 2024-04-29
- 售價: $2,150
- 貴賓價: 9.5 折 $2,043
- 語言: 英文
- 頁數: 366
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1835465919
- ISBN-13: 9781835465912
-
相關分類:
.NET、C#
海外代購書籍(需單獨結帳)
相關主題
商品描述
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
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
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 開發現代網頁使用者介面 - 現在引入了 .NET 8 中的串流和靜態伺服器端渲染 (SSR) 和靈活的主機模型
購買印刷版或 Kindle 版書籍將包含一本免費的 PDF 電子書
主要特點
- 從頭到尾建立一個可投入生產的 Blazor 應用程式
- 瞭解何時以及為何使用 Blazor Server 和 Blazor WebAssembly,以及 Blazor Hybrid
- 探索串流渲染、伺服器端渲染 (SSR)、靈活的主機模型和 Blazor 樣板的重要新內容
書籍描述
《使用 Blazor 進行網頁開發》是您在不依賴 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. 管理狀態 - 第一部分
4. 瞭解基本的 Blazor 元件
5. 建立高級的 Blazor 元件
6. 使用驗證建立表單
7. 建立 API
8. 認證和授權
9. 共享程式碼和資源
10. JavaScript 互操作
11. 管理狀態 - 第二部分
12. 調試程式碼
13. 測試
14. 部署到生產環境
15. 從現有網站遷移或結合
16. 深入研究 WebAssembly
17. 檢查原始碼產生器
18. 探索 .NET MAUI
19. 從這裡開始前往何處