Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Publishing AngularJS2 app to IIS

$
0
0

Hi, 

I developed AngularJS2 application(Without MVC, pure HTML and JS application) with Visual Studio 2015(AngularJS core template). I am using Webpack to build the application. The application runs fine when i run in IISExpress from Visual studio. 

When i build the app using webpack, it builds successfully produces(Asseets folder- Pictures, Dist folder - JS file with HTML components, Index.html file) in wwwroot folder of VS2015 app. 

But I am not sure how to deploy in IIS 7. I copied pasted the folders(Assets, Dist and index.html) in Default Web Site folder("C:\inetpub\wwwroot\TestSite").  Accessed the URL http://localhost/TestSite in browser, but the application shows only index.html page and it is not loading the angularjs application. 

Am I missing any configuration files.

Please help me to deploy AngularJS 2 application in IIS 7.

Thanks 

Previn S


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>