0

I have an Angular 8 application with a separate class library for data retrieval (DAL). I use controllers to retrieve the data. I can't figure out how to deploy or publish it to IIS. It creates a publish folder with a ton of files and the Clientapp folder that houses the index.html/angular files. I tried adding rewrite to the web.config and it still doesn't seem to work. I'm right clicking on the project and select publish, publish to local file system, and then copy the files/folders to the server/IIS. If I copy the ClientApp files the application comes up but there's no data and the services fail.

Dennis
  • 93
  • 9
  • This blog might useful in your case https://stackoverflow.com/questions/41304626/how-to-deploy-angular-cli-app-on-iis – Muni Kumar Gundu Oct 24 '19 at 17:40
  • you could use `ng build` command to build an application for that first enter to the folder using command prompt and run this command. it will create a dist folder under your project folder. open iis and point the dist folder as the folder path when you add site. – Jalpa Panchal Oct 25 '19 at 08:50
  • could you share which feature of iis you installed? – Jalpa Panchal Oct 25 '19 at 09:00
  • Hi Dennis, maybe this article will help https://levelup.gitconnected.com/how-to-deploy-angular-app-to-an-iis-web-server-complete-setup-337997486423 – Georgian Stan Mar 29 '21 at 14:14

0 Answers0