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 1
Working with Namespaces in TypeScript
In this video, we will start working with a major feature in TypeScript, which is namespace. - Build a function to capitalize first letter or a word, and learn to use the static keywords with functions - Use string interpolation to combine strings, which is the most popular and professional way to combine strings - Explore how to create a namespace to include our class and function