1>------ Build started: Project: project_name, Configuration: Debug Any CPU ------
1>Restoring dependencies using 'npm'. This may take several minutes...
#especially this area, if you see any errors, please fix them first
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
4. design your application, test it in the development environment, prepare to deploy the application
5. follow the deployment instruction to publish an ASP.NET Core project in Visual Studio, you don't have to do any other configurations
6. access your site URL to check the application
If you get an error, please have a look at the followings, find the corresponding solution to troubleshoot
a) An error occurred while starting the application
solution: enable logging system for your application, check the real exception message, see details
b) One or more errors occurred. (One or more errors occurred. (Failed to start 'npm'. To resolve this...))
cause: the React.js ClientApp is not built with all necessary project files and related modules to the production directory while deploying
#1 open the command window in either your computer CMD or Visual Studio>Package Manager Console (default shortcut keys: Ctril+Q) or Command Window (default shortcut keys: Ctrl+Alt+A)
be sure the progress complete successfully. Then republish the application from Visual Studio via Web Deploy.
#2 publish the project to a local folder in Visual Studio (in the Publish settings, choose Target>Folder)
run your application on local IIS, or start it in localhost, make sure everything works. Then archive all folders&files in the publish folder to .zip file, upload the .zip file to your account, and complete the site setup.
c) HTTP Error 500.34 - ANCM Mixed Hosting Models Not Supported or 500.35 ANCM Multiple In-Process Applications in same Process