Blazor in Action (Paperback)

Sainty, Chris

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

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

相關主題

商品描述

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 in Action》是一本以實例為基礎的指南,教你如何使用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應用程式