I would like to use angular-cli with asp.net core and I need to know how I can change the path of the dist folder
You can update the output folder in .angular-cli.json:
"outDir": "./location/toYour/dist"