Book Image

TypeScript for C# and .NET Developers [Video]

By : Ahmad Mohey
Book Image

TypeScript for C# and .NET Developers [Video]

By: Ahmad Mohey

Overview of this book

<p>Starting with a brief introduction to TypeScript, this course starts by revealing how simple it is for a C# developer to move to TypeScript. It focuses on the similarities between both the languages, keeping you within your comfort zone—the Microsoft environment. </p><p>Moving on, it shows you how to work with TypeScript within .NET Core and ASP.NET Core to create powerful and robust applications. You’ll also learn how to integrate third-party tools such as Angular in your development stack. </p><p>By the end of this course, you’ll have gained a solid understanding of how to build maintainable code with TypeScript and see how similar it’s to the tools and language you already know. </p><p> </p><p>All the code and supporting files for this course are available on GitHub at: </p><p>https://github.com/PacktPublishing/-TypeScript-for-CSharp-and-.NET-Developers</p>
Table of Contents (5 chapters)
Chapter 3
Advanced TypeScript Language Features
Content Locked
Section 3
Building Your First Class
Before doing anything we need to prepare our environment to write TypeScript apps. - Understand the idea of classes and why we need them to work in TypeScript - Learn how to build a simple class with fields and functions, and how to create instances from the class - Work with constructors to initialize fields in the class and how to use these important keywords