O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding an Angular component

We configured the project with TypeScript compiler options. Now, let's add an Angular root component for our application. Follow these steps to do so:

  1. First, create an app folder under wwwroot by right-clicking on it and navigate to Add | New Folder, as shown in the following screenshot:
Adding a new folder named app for the Angular application folder
  1. We have the app folder ready. Let's add the TypeScript file to create a root component by right-clicking on the app folder and navigating to Add | New Item. Select Scripts under Web from the left-hand side pane and select TypeScript File from the middle pane. Name ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required