Exploring Blazor: Creating Hosted, Server-Side, and Client-Side Applications with C#

Litvinavicius, Taurius

  • 出版商: Apress
  • 出版日期: 2019-12-01
  • 售價: $1,575
  • 貴賓價: 9.5$1,496
  • 語言: 英文
  • 頁數: 199
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484254457
  • ISBN-13: 9781484254455
  • 相關分類: C#
  • 立即出貨 (庫存=1)

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

商品描述

Build and develop web applications with Blazor in C#. This book will cover all three types of Blazor - server-side, client-side, and hosted along with other features of the technology. You'll see that Blazor is a web UI framework based on C#, Razor, and HTML and how it runs front-end logic using C# either on the server or on the browser using WebAssembly.

The author starts by introducing WebAssembly and gives an overview of Blazor along with its various categories. Next, you'll get started with Blazor where you learn the basics, including Razor syntax implementation. Here you will go over the major differences between Blazor and Razor and how the syntax works. A demo of the layout and navigation for server-side Blazor is followed by usage of Razor syntax to control an application in client-side Blazor. Further, you will go through the project layout, navigation, and routes for the API. Here, you will understand how to access the API from the front end and use the shared library for different models.

Moving forward, you will discover how Blazor works with storage, files, and JavaScript. Finally, you will create web applications in Blazor using practical implementations and real-life scenarios for server-side, client-side, and hosted applications.

After reading this book you will be able to build web applications with Blazor in C# and .NET Core 3.0.

What You Will Learn

  • Bind one-way and two-way data
  • Combine Blazor and JavaScript
  • Understand layout in server-side and client-side applications
  • Execute the general syntax in Razor

Who This Book Is For

C# and .NET Core developers

商品描述(中文翻譯)

使用C#在Blazor中建立和開發網絡應用程式。本書將涵蓋Blazor的三種類型 - 伺服器端、客戶端和托管,以及該技術的其他功能。您將了解Blazor是一個基於C#,Razor和HTML的網絡UI框架,以及它如何使用C#在伺服器端或使用WebAssembly在瀏覽器上運行前端邏輯。

作者首先介紹WebAssembly,並概述Blazor及其各種類別。接下來,您將開始使用Blazor,學習基礎知識,包括Razor語法的實現。在這裡,您將瞭解Blazor和Razor之間的主要差異以及語法的工作原理。伺服器端Blazor的佈局和導航演示之後,使用Razor語法來控制客戶端Blazor應用程式。此外,您還將瞭解API的專案佈局,導航和路由。在這裡,您將瞭解如何從前端訪問API並使用共享庫來處理不同的模型。

接下來,您將瞭解Blazor如何與存儲、文件和JavaScript一起工作。最後,您將使用實際案例和真實場景在Blazor中創建網絡應用程式,包括伺服器端、客戶端和托管應用程式。

閱讀本書後,您將能夠使用C#和.NET Core 3.0在Blazor中建立網絡應用程式。

您將學到什麼:
- 綁定單向和雙向數據
- 結合Blazor和JavaScript
- 瞭解伺服器端和客戶端應用程式的佈局
- 在Razor中執行一般語法

本書適合以下讀者:
- C#和.NET Core開發人員

作者簡介

Taurius is a businessman and technology expert based in Lithuania who has worked with various organizations in building and implementing various projects in software development, sales, and other fields of business. He currently works on a platform called mashdrop, which is a modern way to monetize the influence of an influencer. As with most of his projects this one uses cutting-edge technologies such as Blazor. He is responsible for technological improvements, development of new features, and general management. Taurius is also the director at the Conficiens solutio consulting agency, where he supervises development and maintenance of various projects and activities.

作者簡介(中文翻譯)

Taurius是一位來自立陶宛的商人和技術專家,曾與不同組織合作,在軟體開發、銷售和其他商業領域建立和實施各種項目。他目前在一個名為mashdrop的平台上工作,這是一種現代化的方式來利用影響力進行盈利。和他的大多數項目一樣,這個平台使用了尖端技術,如Blazor。他負責技術改進、開發新功能和一般管理工作。Taurius還是Conficiens solutio咨詢機構的主管,負責監督各種項目和活動的開發和維護工作。