Blazor Web Development Cookbook: Tested recipes for advanced single-page application scenarios in .NET 9
暫譯: Blazor 網頁開發食譜:.NET 9 中進階單頁應用程式場景的實測食譜
Bazyluk, Pawel
- 出版商: Packt Publishing
- 出版日期: 2024-11-29
- 售價: $1,590
- 貴賓價: 9.5 折 $1,511
- 語言: 英文
- 頁數: 282
- 裝訂: Quality Paper - also called trade paper
- ISBN: 183546078X
- ISBN-13: 9781835460788
-
相關分類:
.NET、Apple Developer
海外代購書籍(需單獨結帳)
相關主題
商品描述
Master web development with Blazor in .NET 9, gaining advanced skills while working with dynamic components to secure and optimize your applications
Key Features:
- Develop generic, customizable components secured with roles and policies
- Manage application and user states, in simple to complex scenarios, across render boundaries
- Enhance user experience by embedding AI-powered features into the application
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
With support for both server-side and client-side hosting, as well as the flexibility to mix render modes, Blazor empowers you to leverage cloud computing while maintaining the performance of local applications. Pawel Bazyluk-a Blazor expert with over a decade of experience in .NET technologies-shows you how Blazor, a Microsoft framework, enables you to create interactive web applications using C# and .NET, while reducing reliance on JavaScript. This cookbook highlights Blazor's vast possibilities using practical recipes that address key aspects of web development and showcase the framework's versatility in building modern, integrated applications.
Pawel demonstrates how to skillfully navigate component-based architecture, and create, parameterize, and customize components to achieve high modularity. Working through practical insights and hands-on guidance in each chapter, you'll progress from advanced data binding and event handling intricacies to optimizing data display using grids. You'll explore application state management, build interactive forms with validation, leverage Blazor's routing engine, and keep every part of the application secure. The book also explores cutting-edge topics, touching on how to enhance your application with AI-powered features.
By the end of the book, you'll be fully equipped to build robust, scalable, and secure web applications in Blazor.
What You Will Learn:
- Build modular, reusable, maintainable code in component-based architecture
- Exchange data between a UI and external service while ensuring UI responsiveness
- Implement efficient user interactions and event handling
- Present data in a structured and user-friendly manner using grids
- Understand state management strategies crucial for complex applications
- Create user-friendly and robust data input forms with smart validations
- Explore routing capabilities and leverage navigation events
- Enhance forms with AI-powered features and implement your own AI chatbot
Who this book is for:
This book is for developers with a foundational understanding of Blazor and .NET seeking proven solutions to common web application development challenges. Frontend engineers, .NET developers, and solution architects looking to gain full-stack expertise will also find this resource invaluable. Familiarity with HTML, CSS, and JavaScript programming will help you get the most out of this web development book.
Table of Contents
- Working with Component-Based Architecture
- Synchronous and Asynchronous Data Binding
- Taking Control of Event Handling
- Enhancing Data Display with Grids
- Managing Application State
- Building Interactive Forms
- Validating User Input Forms
- Keeping the Application Secure
- Exploring Navigation and Routing
- Integrating with OpenAI
商品描述(中文翻譯)
**掌握 .NET 9 中的 Blazor 網頁開發,獲得高級技能,同時使用動態元件來保護和優化您的應用程式**
**主要特點:**
- 開發通用的可自訂元件,並使用角色和政策進行安全保護
- 在簡單到複雜的情境中,跨渲染邊界管理應用程式和使用者狀態
- 通過將 AI 驅動的功能嵌入應用程式來增強使用者體驗
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
**書籍描述:**
Blazor 支援伺服器端和客戶端的託管,並具備混合渲染模式的靈活性,使您能夠利用雲端運算,同時保持本地應用程式的性能。Pawel Bazyluk 是一位擁有超過十年 .NET 技術經驗的 Blazor 專家,他將向您展示 Microsoft 的 Blazor 框架如何使您能夠使用 C# 和 .NET 創建互動式網頁應用程式,同時減少對 JavaScript 的依賴。本書通過實用的食譜,突顯 Blazor 的廣泛可能性,涵蓋網頁開發的關鍵方面,並展示該框架在構建現代集成應用程式中的多樣性。
Pawel 展示了如何熟練地導航基於元件的架構,並創建、參數化和自訂元件以實現高模組化。每一章都提供實用的見解和實作指導,您將從高級資料綁定和事件處理的複雜性進展到使用網格優化資料顯示。您將探索應用程式狀態管理,構建具有驗證的互動式表單,利用 Blazor 的路由引擎,並確保應用程式的每個部分都安全。本書還探討了前沿主題,涉及如何使用 AI 驅動的功能增強您的應用程式。
在書籍結束時,您將完全具備在 Blazor 中構建穩健、可擴展和安全的網頁應用程式的能力。
**您將學到的內容:**
- 在基於元件的架構中構建模組化、可重用和可維護的程式碼
- 在確保 UI 響應的同時,實現 UI 與外部服務之間的資料交換
- 實施高效的使用者互動和事件處理
- 使用網格以結構化和使用者友好的方式呈現資料
- 理解對於複雜應用程式至關重要的狀態管理策略
- 創建使用者友好且穩健的資料輸入表單,並進行智能驗證
- 探索路由功能並利用導航事件
- 使用 AI 驅動的功能增強表單,並實作您自己的 AI 聊天機器人
**本書適合誰:**
本書適合對 Blazor 和 .NET 有基礎理解的開發人員,尋求針對常見網頁應用程式開發挑戰的有效解決方案。前端工程師、.NET 開發人員和解決方案架構師希望獲得全棧專業知識的人士也會發現這本資源非常有價值。熟悉 HTML、CSS 和 JavaScript 程式設計將幫助您充分利用這本網頁開發書籍。
**目錄:**
- 使用基於元件的架構
- 同步和非同步資料綁定
- 控制事件處理
- 使用網格增強資料顯示
- 管理應用程式狀態
- 構建互動式表單
- 驗證使用者輸入表單
- 確保應用程式安全
- 探索導航和路由
- 與 OpenAI 整合