Hands-On TypeScript for C# and .NET Core Developers: Transition from C# to TypeScript 3.1 and build applications with ASP.NET Core 2
暫譯: C# 與 .NET Core 開發者的實戰 TypeScript:從 C# 過渡到 TypeScript 3.1 並使用 ASP.NET Core 2 建構應用程式
Francesco Abbruzzese
- 出版商: Packt Publishing
- 出版日期: 2018-10-31
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 460
- 裝訂: Paperback
- ISBN: 178913028X
- ISBN-13: 9781789130287
-
相關分類:
.NET、ASP.NET、C#、JavaScript、TypeScript
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$580$493 -
$454Learning TypeScript 中文版
-
$490$387 -
$750Visual Studio Code Distilled: Evolved Code Editing for Windows, macOS, and Linux
-
$594$564 -
$1,000$850 -
$305Python Web 開發從入門到實戰(Django+Bootstrap)- 微課視頻版
-
$556SAFe 5.0精粹:面向業務的規模化敏捷框架
-
$980$774 -
$680$537 -
$709基於大模型的 RAG 應用開發與優化 — 構建企業級 LLM 應用
-
$505一個公式,玩轉 PPT
相關主題
商品描述
Discover how TypeScript allows you to build modern client-rich applications, thanks to its object-oriented capabilities and third-party tools like Angular and Web APIs
Key Features
- Make a seamless transition to using TypeScript 3.1 in your development stack
- Work with TypeScript 3.1 in your ASP.NET Core projects to build rich applications that are easy to maintain
- Build, test, and integrate your own TypeScript library in real-world projects
Book Description
Writing clean, object-oriented code in JavaScript gets trickier and complex as the size of the project grows. This is where Typescript comes into the picture; it lets you write pure object-oriented code with ease, giving it the upper hand over JavaScript. This book introduces you to basic TypeScript concepts by gradually modifying standard JavaScript code, which makes learning TypeScript easy for C# ASP.NET developers.
As you progress through the chapters, you'll cover object programming concepts, such as classes, interfaces, and generics, and understand how they are related to, and similar in, both ES6 and C#. You will also learn how to use bundlers like WebPack to package your code and other resources. The book explains all concepts using practical examples of ASP.NET Core projects, and reusable TypeScript libraries. Finally, you'll explore the features that TypeScript inherits from either ES6 or C#, or both of them, such as Symbols, Iterables, Promises, and Decorators.
By the end of the book, you'll be able to apply all TypeScript concepts to understand the Angular framework better, and you'll have become comfortable with the way in which modules, components, and services are defined and used in Angular. You'll also have gained a good understanding of all the features included in the Angular/ASP.NET Core Visual Studio project template.
What you will learn
- Organize, test, and package large TypeScript code base
- Add TypeScript to projects using TypeScript declaration files
- Perform DOM manipulation with TypeScript
- Develop Angular projects with the Visual Studio Angular project template
- Define and use inheritance, abstract classes, and methods
- Leverage TypeScript-type compatibility rules
- Use WebPack to bundle JavaScript and other resources such as CSS to improve performance
- Build custom directives and attributes, and learn about animations
Who this book is for
If you're a C# or .NET developer looking for an easy accessible way of learning TypeScript, this book is for you.
Table of Contents
- Introduction to TypeScript
- Complex Types and Functions
- DOM manipulation
- Using Classes and Interfaces
- Generics
- Namespaces and Modules
- Bundling with WebPack
- Building TypeScript libraries
- Decorators and advanced ES6 features
- Angular Asp.net core project template
- Input and Interactions
- Advanced features
- Navigation and services
商品描述(中文翻譯)
**探索 TypeScript 如何利用其物件導向能力以及 Angular 和 Web APIs 等第三方工具,讓您能夠構建現代的客戶端豐富應用程式**
#### 主要特點
- 在您的開發堆疊中無縫過渡到使用 TypeScript 3.1
- 在您的 ASP.NET Core 專案中使用 TypeScript 3.1 來構建易於維護的豐富應用程式
- 在實際專案中構建、測試和整合您自己的 TypeScript 函式庫
#### 書籍描述
在 JavaScript 中撰寫乾淨的物件導向程式碼隨著專案規模的增長變得越來越棘手和複雜。這就是 TypeScript 發揮作用的地方;它讓您輕鬆撰寫純物件導向程式碼,使其在 JavaScript 之上佔有優勢。本書通過逐步修改標準 JavaScript 程式碼來介紹基本的 TypeScript 概念,這使得 C# ASP.NET 開發者學習 TypeScript 變得容易。
隨著您逐章進展,您將涵蓋物件程式設計概念,例如類別、介面和泛型,並了解它們在 ES6 和 C# 中的關聯性和相似性。您還將學習如何使用像 WebPack 這樣的打包工具來打包您的程式碼和其他資源。本書使用 ASP.NET Core 專案和可重用的 TypeScript 函式庫的實際範例來解釋所有概念。最後,您將探索 TypeScript 從 ES6 或 C#(或兩者)繼承的特性,例如 Symbols、Iterables、Promises 和 Decorators。
在本書結束時,您將能夠應用所有 TypeScript 概念,以更好地理解 Angular 框架,並且您將對 Angular 中模組、元件和服務的定義和使用方式感到熟悉。您還將對 Angular/ASP.NET Core Visual Studio 專案範本中包含的所有特性有良好的理解。
#### 您將學到的內容
- 組織、測試和打包大型 TypeScript 程式碼庫
- 使用 TypeScript 聲明檔將 TypeScript 添加到專案中
- 使用 TypeScript 進行 DOM 操作
- 使用 Visual Studio Angular 專案範本開發 Angular 專案
- 定義和使用繼承、抽象類別和方法
- 利用 TypeScript 類型相容性規則
- 使用 WebPack 打包 JavaScript 和其他資源(如 CSS)以提高性能
- 構建自定義指令和屬性,並了解動畫
#### 本書適合誰
如果您是尋找簡單易學的 TypeScript 學習方式的 C# 或 .NET 開發者,本書適合您。
#### 目錄
1. TypeScript 介紹
2. 複雜類型和函式
3. DOM 操作
4. 使用類別和介面
5. 泛型
6. 命名空間和模組
7. 使用 WebPack 打包
8. 構建 TypeScript 函式庫
9. Decorators 和進階 ES6 特性
10. Angular ASP.NET Core 專案範本
11. 輸入和互動
12. 進階特性
13. 導航和服務