Happiness for every student is when the teacher appreciates and respects him, but with such exaggerated requirements it is difficult thanks to this site https://order.studentshare.org/capstone-project-writing I have always had excellent essays
When we deactivate debug mode, all DependencyHandler files are served corretly, both css and js. But all our custom styling from our package.manifest file is not included. All the js files from our package.manifest is included.
Locally it worked when we changed our package.manifest stylesheets from min.css to just .css.
Then we tried to play around with the httpRuntime in the web.config to have more maxRequestLength, requestLengthDiskThreshold and executionTimeout like:
Error on CSS + JS files when deactivating debug mode
Hi all,
If I deactivate the debug mode
debug="false"
in the web.config the minified CSS + JS files are not served any more correctly from the server.In the network tab I have the following:
As outlined in the screenshot at least the CSS is not served.
But when I have a closer look at the response I have the following:
The status is
200
and the served content type is:text/html
instead ofCSS
I've tried to add some custom headers in the web.config:
<add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Methods" value="GET,POST" /> <add name="Access-Control-Allow-Headers" value="Origin, X-Requested-With, Content-Type, Accept" />
But this has no effect.
Does anybody have an idea what I can do?
And to note: The system is on a load balanced infrastructure served from a cloudfront distribution.
Happiness for every student is when the teacher appreciates and respects him, but with such exaggerated requirements it is difficult thanks to this site https://order.studentshare.org/capstone-project-writing I have always had excellent essays
Hi fabbau.
I got the same error, but with a different issue.
When we deactivate debug mode, all DependencyHandler files are served corretly, both css and js. But all our custom styling from our package.manifest file is not included. All the js files from our package.manifest is included.
Locally it worked when we changed our package.manifest stylesheets from min.css to just .css.
But on our server its still a problem.
Then we tried to play around with the httpRuntime in the web.config to have more maxRequestLength, requestLengthDiskThreshold and executionTimeout like:
With no result. Then we played around with the ClientDependency.config fileProcessingProviders to include our domanis.
Without any luck.
So i hope someone seen this issue before and might have a hint :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.