Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On TypeScript for C# and .NET Core Developers

You're reading from   Hands-On TypeScript for C# and .NET Core Developers Transition from C# to TypeScript 3.1 and build applications with ASP.NET Core 2

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher
ISBN-13 9781789130287
Length 460 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Francesco Abbruzzese Francesco Abbruzzese
Author Profile Icon Francesco Abbruzzese
Francesco Abbruzzese
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Introduction to TypeScript FREE CHAPTER 2. Complex Types and Functions 3. DOM Manipulation 4. Using Classes and Interfaces 5. Generics 6. Namespaces and Modules 7. Bundling with WebPack 8. Building TypeScript Libraries 9. Decorators and Advanced ES6 Features 10. Angular ASP.NET Core Project Template 11. Input and Interactions 12. Angular Advanced Features 13. Navigation and Services 14. Assessments 15. Other Books You May Enjoy

Creating an Angular project

Open Visual Studio and create a new project by going to File | New | Project, selecting ASP.NET Core Web Application, and then naming it AngularQuickStart. Press OK, and, in the window that opens, choose an Angular application.

The whole Angular Client application is contained in the ClientApp folder. Let's open this folder and take a look at the Angular package.json to verify whether the version used in the Visual Studio template is sufficiently recent. At the time this book was written, the Visual Studio template was based on Angular 5.2, while the most recent Angular release was 6.1.

The simplest way to move to the test Angular version is to delete the whole ClientApp folder and to create a new Angular application with the latest version of Angular CLI installed in the Technical requirements section, as follows:

  1. Delete the ClientApp folder...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime