Skip to content



Repository files navigation


Hands-On TypeScript for C# and .NET Core Developers, published by Packt

This is the code repository for Hands-On TypeScript for C# and .NET Core Developers, published by Packt.

Transition from C# to TypeScript 3.1 and build applications with ASP.NET Core 2

What is this book about?

When it comes to writing a clean, object-oriented code in JavaScript, it gets trickier and complex as the size of the project grows. This is where a Typescript comes into a picture with which you can write pure object-oriented code without any hustle. This gives Typescript an upper hand over JavaScript. This book starts by introducing TypeScript basic concepts by modifying gradually standard JavaScript code, which makes it easy for C# Asp.NET developers who are aiming for a transition to learning TypeScript, which they can now add to their development toolkit.

This book covers the following exciting features: How to organize test, and package large TypeScript code bases How to add TypeScript to existing projects with the help of publicly available TypeScript declaration files How to perform DOM manipulation from TypeScript Develop an Angular project with Visual Studio Angular project template How to define and use Inheritance, abstract classes, and methods How to take advantage of TypeScript “more permissive” type compatibility rules. How to use WebPack to bundle other resources such as CSS files and images to improve performance How to perform advanced customization techniques by learning how to build custom directives and attributes, and how to use animations

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

class Person {
             name: string;
             surname: string;
             secondName?: string;
             fullname(): string {
                  return this.secondName !== undefined ?
                + " " + this.secondName + " " + this.surname :
                + " " + this.surname;

Following is what you need for this book:

With the following software and hardware list you can run all code files present in the book (Chapter 1-13).

Software and Hardware List

Chapter Software required OS required
1-7 Visual Studio 2017 Community Edition (or better) for Windows version 15.8.7 or better Windows, Mac OS X, and Linux (Any)
9-13 Visual Studio 2017 Community Edition (or better) for Windows version 15.8.7 or better Windows, Mac OS X, and Linux (Any)
8 Visual Studio Code version 1.28 or better Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Francesco Abbruzzese Francesco Abbruzzese is an author of the MVC Controls Toolkit. He has also contributed to the diffusion and evangelization of the Microsoft web stack since the first version of ASP.NET MVC through tutorials, articles, and tools.

He writes about .NET and client-side technologies in his blog, dotnet-programming, and various online magazines/blogs. Now, his company, mvc-controls, implements and offers web applications, AI software, SAS products, tools, and services for web technologies associated with the Microsoft stack.

He moved from AI systems, where he implemented one of the first decision support systems for banks and financial institutions, to the video games arena, with top-ten titles such as Puma Street Soccer.

Suggestions and Feedback

Click here if you have any feedback or suggestions.


Hands-On TypeScript for C# and .NET Core Developers, published by Packt







No releases published


No packages published


  • TypeScript 71.4%
  • HTML 11.2%
  • C# 9.2%
  • JavaScript 6.2%
  • CSS 2.0%