Blazor in Action (Paperback)
暫譯: Blazor 實戰 (平裝本)

Sainty, Chris

  • 出版商: Manning
  • 出版日期: 2022-07-01
  • 售價: $2,180
  • 貴賓價: 9.5$2,071
  • 語言: 英文
  • 頁數: 380
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1617298646
  • ISBN-13: 9781617298646
  • 相關分類: .NETC#
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

An example-driven guide to building reusable UI components and web frontends--all with Blazor, C#, and .NET.

In Blazor in Action, you will learn about:

Blazor + WebAssembly
Picking the right hosting model
Building reusable UI components
Building forms with validation
Integrating with JavaScript libraries
Securing your application
Testing your applications

Blazor in Action is a practical guide to building stunning UIs and client-side applications using C# and .NET. You'll use the Blazor frontend framework to create a fun and exciting web application for plotting hiking routes. As you build up your new application, you'll master the key features of Blazor, such as routing, forms and validation, and dynamic and reusable components. By the time you're done, you'll be ready to develop beautiful sites and apps that seamlessly execute your C# code natively in the browser.

The book is written to the most recent stable build of Blazor and seamlessly integrates fresh features from .NET 6.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology
Create rich web frontends without relying on JavaScript. Microsoft's Blazor framework uses WebAssembly to extend the ultra-popular ASP.NET platform. In Blazor, you can build interactive web components that run natively in the browser without plug-ins or transpilers. And because it's C# end-to-end, it's easy to share code between the server and your web UI.

About the book
Blazor in Action teaches you to create full-stack ASP.NET applications end-to-end in C#. You'll start by learning to build Blazor web components, working through core topics like routing and forms. As you go, you'll implement a hiking route web application that includes reusable code, integration with JavaScript libraries, and role-based security. To make sure your app is production ready, this practical book also covers state management, data persistence, and testing.

What's inside

Dynamic and reusable UI components
Sharing client and server code
Role-based security using Auth0
Persisting state using local browser storage

About the reader
For web developers with C# and .NET experience.

About the author
Chris Sainty has been a part of the Blazor community from the beginning. He's an active blogger, open source developer, international speaker, and a Microsoft MVP.

Table of Contents

1 Starting your Blazor journey
2 Your first Blazor app
3 Working with Blazor's component model
4 Routing
5 Forms and validation--Part 1: Fundamentals
6 Forms and validation--Part 2: Beyond the basics
7 Creating more reusable components
8 Integrating with JavaScript libraries
9 Securing Blazor applications
10 Managing state
11 Testing your Blazor application

商品描述(中文翻譯)

**一本以範例為導向的指南,教你如何使用 Blazor、C# 和 .NET 建立可重用的 UI 元件和網頁前端。**

在 *Blazor in Action* 中,你將學習到:

Blazor + WebAssembly
選擇合適的託管模型
建立可重用的 UI 元件
建立具有驗證的表單
與 JavaScript 函式庫整合
保護你的應用程式
測試你的應用程式

*Blazor in Action* 是一本實用的指南,教你如何使用 C# 和 .NET 建立驚豔的 UI 和客戶端應用程式。你將使用 Blazor 前端框架來創建一個有趣且令人興奮的網頁應用程式,用於規劃健行路線。在構建新應用程式的過程中,你將掌握 Blazor 的關鍵特性,例如路由、表單和驗證,以及動態和可重用的元件。當你完成時,你將能夠開發出美麗的網站和應用程式,無縫地在瀏覽器中原生執行你的 C# 代碼。

本書是基於最新的穩定版本 Blazor 撰寫,並無縫整合了 .NET 6 的新功能。

購買印刷版書籍可獲得 Manning Publications 提供的免費 PDF、Kindle 和 ePub 格式電子書。

**關於這項技術**
創建豐富的網頁前端,而無需依賴 JavaScript。微軟的 Blazor 框架使用 WebAssembly 擴展超受歡迎的 ASP.NET 平台。在 Blazor 中,你可以建立在瀏覽器中原生運行的互動式網頁元件,而無需使用外掛或轉譯器。由於整個過程都是使用 C#,因此在伺服器和網頁 UI 之間共享代碼變得簡單。

**關於本書**
*Blazor in Action* 教你如何使用 C# 從頭到尾創建全棧 ASP.NET 應用程式。你將從學習建立 Blazor 網頁元件開始,深入核心主題,如路由和表單。在這個過程中,你將實作一個健行路線的網頁應用程式,該應用程式包括可重用的代碼、與 JavaScript 函式庫的整合以及基於角色的安全性。為了確保你的應用程式準備好進入生產環境,這本實用的書籍還涵蓋了狀態管理、數據持久性和測試。

**內容概覽**

動態和可重用的 UI 元件
共享客戶端和伺服器代碼
使用 Auth0 的基於角色的安全性
使用本地瀏覽器存儲持久化狀態

**讀者對象**
適合具有 C# 和 .NET 經驗的網頁開發者。

**作者介紹**
**Chris Sainty** 從一開始就是 Blazor 社群的一部分。他是一位活躍的部落客、開源開發者、國際演講者,以及微軟 MVP。

**目錄**

1. 開始你的 Blazor 之旅
2. 你的第一個 Blazor 應用程式
3. 使用 Blazor 的元件模型
4. 路由
5. 表單和驗證 - 第 1 部分:基礎
6. 表單和驗證 - 第 2 部分:超越基礎
7. 創建更多可重用的元件
8. 與 JavaScript 函式庫整合
9. 保護 Blazor 應用程式
10. 管理狀態
11. 測試你的 Blazor 應用程式