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 4
Code Optimization in TypeScript
Content Locked
Section 4
Understanding Decorators in TypeScript
Decorators are amazing, but they are still in an experimental phase and not yet fully released. We will see how to create decorators and see how they work. - Explore what is meant by a decorator, and why we need it - Build a class and create an instance from this class - Create a function decorator and see how it will affect the class