'Setup Angular 4 in Visual Studio 2017

I would like to develop Angular web application using Visual Studio 2017. I have created a new project choosing Asp.net Web application with Empty template.

Now I am little bit confused about the files that needs to be copied/included to the project from the attached screenshot.

Can someone help me to identify the required files and their purpose.

enter image description here



Solution 1:[1]

This is the workspace of your project : you'll find more information about the structure here

Solution 2:[2]

You can use Angular CLI to generate the files required to create an angular project, using command:

ng new NameOfProject

I prefer to use VS code editor to control over angular script and use VS IDE to interact with server side.

you can put all angular files in the root of your project. enter image description here

Solution 3:[3]

npm cache clean --force

npm install -g @angular/cli@latest

npm config set registry http://registry.npmjs.org/

npm install -g npm

npm install --legacy-peer-deps npm run start:stage

or

npm run start:localapi

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Gérôme Grignon
Solution 2 Dipak Delvadiya
Solution 3 Shiv kumar K