Question:
Inweb.config
, what is the equivalent of system.web
>compilation[tempDirectory]
attribute but using the more up to date system.webServer
instead of system.web
?Here is what I need to add to my web.config:
web.config
relies on system.webServer
, not system.web
and adding the attribute results in an internal server error 500.Answer:
compilation[tempDirectory]
is depending on system.web
, so you cannot add it in system.webServer
.But
system.web
and system.webServer
can both exist in web.config. They won’t lead to conflict.If you have better answer, please add a comment about this, thank you!