2 Attachment(s)
Missing the application name
I created an example form Ext.Net.Template (Ext.Net.Classic 7.0)
In 'launchSettings.json' file, I set
Code:
{ "applicationUrl": "http://localhost:5000"}
start the web, it works well.
But I set it with an appPath "/extnet7"
Code:
{ "applicationUrl": "http://localhost:5000/extnet7"}
it not work, because it also generated the resource files(urls) as
HTML Code:
<link type="text/css" rel="stylesheet" href="/extnet/extjs/packages/theme-spotless/build/resources/theme-spotless-all.css"/>
<script type="text/javascript" src="/extnet/extjs/ext-all.js"></script>
<script type="text/javascript" src="/extnet/extnet/extnet-all.js"></script>
Actually, they should be like these
HTML Code:
<link type="text/css" rel="stylesheet" href="/extnet7/extnet/extjs/packages/theme-spotless/build/resources/theme-spotless-all.css"/>
<script type="text/javascript" src="/extnet7/extnet/extjs/ext-all.js"></script>
<script type="text/javascript" src="/extnet7/extnet/extnet/extnet-all.js"></script>
Also I deployed it on IIS, "Default Web Site" -> New application "extnet7"
I visit http://localhost/extnet7/
I got the same error.
Attachment 25454
Attachment 25455