Sekhar Babu

Sekhar Babu

  • 1.4k
  • 354
  • 1k

Published css/js files return 404 in azure portal

Aug 28 2016 12:23 PM
<table style=" 0px; 0px; font-size: 13px; border-spacing: 0px; border-collapse: collapse; color: #242729; font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; 16.9px; background-color: #ffffff;"><tbody style=" 0px; 0px;"><tr style=" 0px; 0px;"><td style=" 0px; 0px; vertical-align: top;"><div style=" 0px; 0px;"></div></td><td style=" 0px 15px 0px 0px; 0px; vertical-align: top;"><div style=" 0px; 0px; text-align: center; min- 46px;"><br />down votefavorite<div style=" 0px; 0px;"></div></div></td><td style=" 0px; 0px; vertical-align: top;"><div style=" 0px; 0px;"><div itemprop="text" style=" 0px; 0px; font-size: 15px; 660px; word-wrap: break-word; 1.3;"><p style=" 0px; 0px; clear: both;">I am new to azure, I created a app service and published my app using publish profile option in visual studio, but in my app css js files were returning 404</p><p style=" 0px; 0px; clear: both;">sample css path is like this</p><pre style=" 0px; 1em; 5px; 0px; font-size: 13px; auto; max- 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, sans-serif; color: #393318; word-wrap: normal; background-color: #eff0f1;"><code style=" 0px; 0px; font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, sans-serif; "> <span style=" 0px; 0px; color: #7d2727;">&lt;link</span> <span style=" 0px; 0px; color: #e64320;">href</span><span style=" 0px; 0px; color: #303336;">=</span><span style=" 0px; 0px; color: #0f74bd;">"/Content/melon/assets/css/main.css"</span> <span style=" 0px; 0px; color: #e64320;">rel</span><span style=" 0px; 0px; color: #303336;">=</span><span style=" 0px; 0px; color: #0f74bd;">"stylesheet"</span> <span style=" 0px; 0px; color: #e64320;">type</span><span style=" 0px; 0px; color: #303336;">=</span><span style=" 0px; 0px; color: #0f74bd;">"text/css"</span> <span style=" 0px; 0px; color: #7d2727;">/&gt;</span></code></pre><p style=" 0px; 0px; clear: both;">is there anything i have to set in config file to load css js files</p><div>bundling is disabled , when i browsed app service in server explorer, these css and js files are not uploaded in corresponding folders</div><div></div></div></div></td></tr></tbody></table>

Answers (1)