asp.net - IIS 10 Express performance issues -
upgraded vs2015 yesterday , noticed when running our web application locally performance awful - chrome dev tools shows requests scripts, images , fonts etc. taking upwards of 60 seconds complete makes debugging nightmare.
has else had similar issues iis express 10? i've tried disabling failed request tracing suggested here (it's old thread though) made 0 difference speed.
this iis express 10 issue i've uninstalled , reverted version 8 , problem has gone away. we'll keep using 8 couldn't find online issue wanted raise , see if i'm one.
so worked 1 out: in our organization have home drives mapped network locations. iis express 10 default location logging set %iis_user_home%
me network folder.
by default, trace logging enabled results in ~500kb log file each resource on page (images, scripts, style-sheets etc.) , caused slow page loading due amount of data being saved across network.
the fix straightforward: within solution directory, open .vs\config folder , edit applicationhost.config file. find <sites>
collection , update folder location logfile
, tracefailedrequestslogging
local path, example:
<sitedefaults> <logfile logformat="w3c" directory="c:\iisexpress\logs" /> <tracefailedrequestslogging directory="c:\iisexpress\tracelogfiles" enabled="true" maxlogfilesizekb="1024" /> </sitedefaults>
if required can disable trace logging setting enabled="false"
in above snippet.
with these changes made, iis express 10 normal , running quick previous versions.
Comments
Post a Comment