Oct 21, 2020, 7:43 AM
Missing the application name
I created an example form Ext.Net.Template (Ext.Net.Classic 7.0)
In 'launchSettings.json' file, I set
But I set it with an appPath "/extnet7"
I visit http://localhost/extnet7/
I got the same error.
In 'launchSettings.json' file, I set
{ "applicationUrl": "http://localhost:5000"}
start the web, it works well.But I set it with an appPath "/extnet7"
{ "applicationUrl": "http://localhost:5000/extnet7"}
it not work, because it also generated the resource files(urls) as<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<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.