How to deploy angular app to local iis server

preview_player
Показать описание
how to deploy angular app to local iis server.
note: other parts of this videos are no longer present. this video was deleted also and reuploaded now.

#angular #angular
Рекомендации по теме
Комментарии
Автор

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Angular Routes" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions>
<action type="Rewrite" url="./index.html" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

shaileshbelose
Автор

This video was a great help. None of the other resources I found mentioned that URL rewrite had to be installed separately. Thanks a lot.

MrTutiplengo
Автор

Thx friend! You saved the day. I have forgotten that we need to install url rewrite manually, and NOT from iis lol

Tibiafy
Автор

i am not able to connect and fetch data from node js backend api in react js frontend in iis server after hosting

hellozindagi
Автор

hi bro, I hosted a project in iis. but files like image and pdf files not rendering in my iis server-hosted project. So, please let me know. I need to change anything from before build the angular project.thank you in advances

kvkarthik