I've deploy an Angular 6 Application with asp.net mvc in IIS and i"m getting a blank page.
it's only present the title inside the <head>
in the html but not all contents - angular 6 components inside.
i build the dist folder:
ng build --prod --base-href /ePortal/
with web.config:
<?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="/ePortal" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
then i have created an application in IIS
Please advice.