Microsoft Blazor: Building Web Applications in .NET 6 and Beyond (Paperback)
暫譯: Microsoft Blazor:在 .NET 6 及以後版本中構建網頁應用程式(平裝本)
Himschoot, Peter
買這商品的人也買了...
商品描述
Build web applications in C# and Microsoft .NET 6 that run in any modern browser and become a full-stack web developer!. Do all these things using the Microsoft Blazor framework and the techniques shown in this book. New in this edition is coverage of the new and improved Razor syntax, communication with the server using SignalR and/or gRPC, the use of virtualization to load large quantities of data efficiently, deployment and ahead-of-time compilation into WASM, new unit testing features, security using OpenID Connect, and more.
Reading this book helps you learn to build user interfaces and present data to a user for display and modification, capturing the user’s changes via data binding. The book shows how to access a rich library of .NET functionality such as a component model for building a composable user interface, including how to develop reusable components that can be used across many pages and websites. Also covered is data exchange with a server using REST, SignalR, and gRPC, giving you access to microservices and database services.
Blazor provides a fresh take on web development by eliminating the need for you to learn different languages and frameworks for client- and server-side development. Blazor allows C# and .NET to be used on all sides—both server-side and client-side—providing a robust feature set that is well suited toward scalable, enterprise-level applications. With Blazor you can use all your experience in .NET 6 along with thousands existing libraries, right in the browser. This book gets you proficient using this important toolkit for web application development.
What You Will Learn
• Build user interfaces and display data for users to edit
• Capture user edits and changes via data binding
• Transfer data back and forth between server and client
• Communicate with microservices and database services using REST, SignalR, or gRPC
• Develop reusable components and assemble them into bigger components
• Use routing to build single-page applications (SPAs)
• Build stable and maintainable software using unit testing
• Internationalize your application to reach more users
• Secure your Blazor application with OpenID Connect
Who This Book Is For
Experienced .NET developers who want to apply their existing skills toward building professional-quality, client-side web applications that run in any browser and web developers who want to step away from JavaScript and its complexities, and instead use a proven technology (C# and .NET6) that is robust toward creating enterprise-quality applications that scale and are reliable, and provide a good user experience
商品描述(中文翻譯)
建立使用 C# 和 Microsoft .NET 6 的網頁應用程式,這些應用程式可以在任何現代瀏覽器中運行,並成為全端網頁開發者!使用 Microsoft Blazor 框架和本書中展示的技術來完成所有這些工作。本版新增了對改進後的 Razor 語法的介紹、使用 SignalR 和/或 gRPC 與伺服器進行通信、使用虛擬化有效載入大量數據、部署和提前編譯為 WASM、新的單元測試功能、使用 OpenID Connect 的安全性等內容。
閱讀本書將幫助您學習如何構建用戶界面並向用戶顯示和修改數據,通過數據綁定捕獲用戶的更改。本書展示了如何訪問豐富的 .NET 功能庫,例如用於構建可組合用戶界面的組件模型,包括如何開發可重用的組件,這些組件可以在多個頁面和網站中使用。此外,還涵蓋了使用 REST、SignalR 和 gRPC 與伺服器進行數據交換,讓您可以訪問微服務和數據庫服務。
Blazor 提供了一種全新的網頁開發方式,消除了您需要學習不同語言和框架以進行客戶端和伺服器端開發的需求。Blazor 允許在所有端(伺服器端和客戶端)使用 C# 和 .NET,提供了一套強大的功能集,非常適合可擴展的企業級應用程式。使用 Blazor,您可以在瀏覽器中利用您在 .NET 6 中的所有經驗以及數以千計的現有庫。本書將幫助您熟練掌握這個重要的網頁應用程式開發工具包。
您將學到的內容:
• 建立用戶界面並顯示用戶可編輯的數據
• 通過數據綁定捕獲用戶的編輯和更改
• 在伺服器和客戶端之間來回傳輸數據
• 使用 REST、SignalR 或 gRPC 與微服務和數據庫服務進行通信
• 開發可重用的組件並將其組裝成更大的組件
• 使用路由構建單頁應用程式 (SPAs)
• 使用單元測試構建穩定且可維護的軟體
• 國際化您的應用程式以接觸更多用戶
• 使用 OpenID Connect 保護您的 Blazor 應用程式
本書適合對象:
有經驗的 .NET 開發者希望將其現有技能應用於構建專業品質的客戶端網頁應用程式,這些應用程式可以在任何瀏覽器中運行;以及希望擺脫 JavaScript 及其複雜性的網頁開發者,轉而使用一種經過驗證的技術(C# 和 .NET 6),該技術適合創建可擴展且可靠的企業級應用程式,並提供良好的用戶體驗。
作者簡介
Peter Himschoot works as a lead trainer, architect, and strategist at U2U. He has a wide interest in software development that includes applications for the web, Windows, and mobile devices. He has trained thousands of developers, is a regular speaker at international conferences, and has been involved in many web and mobile development projects as a software architect. He has been a Microsoft Regional Director (from 2003 to 2019), which is a group of trusted advisors to developer and IT professional audiences, and to Microsoft.
作者簡介(中文翻譯)
彼得·希姆斯庫特(Peter Himschoot)擔任 U2U 的首席培訓師、架構師和策略師。他對軟體開發有廣泛的興趣,包括網頁、Windows 和行動裝置的應用程式。他培訓過數千名開發人員,是國際會議的常客演講者,並作為軟體架構師參與了許多網頁和行動開發專案。他曾擔任微軟區域總監(Microsoft Regional Director,2003年至2019年),這是一個為開發人員和 IT 專業人士以及微軟提供建議的信任顧問團體。