I posted an angular application in IIS and my application starts normally, but when refreshing the page, I get a Not Found error. I looked up several websites and saw that it was necessary to create a WebConfig file in the same folder where your angle files are. I did this, but still the same error continues.
Here is my WebConfig:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="TestDrive">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="./" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
Here is the print of the application configuration in IIS
PoolOptions
Could anyone help me?