【发布时间】:2015-12-17 17:08:53
【问题描述】:
IIS Express 将我的站点 DLL 和其他资源存储在哪个目录中?
我检查了%USERPROFILE%\Documents\IISExpress\applicationhost.config 的<site> 部分,它看起来像这样:
<site name="WebSite1" id="1" serverAutoStart="true">
<application path="/">
<virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" />
</application>
<bindings>
<binding protocol="http" bindingInformation=":8080:localhost" />
</bindings>
</site>
物理路径设置为%IIS_SITES_HOME%\WebSite1,指向%USERPROFILE%\Documents\My Web Sites,但在这个目录中,只有iistart.htm、iis.png等默认文件。
我的站点在localhost:58620 上运行,但我没有站点配置applicationhost.config。
我从 Visual Studio 2015 启动 IIS Express。
那么我的localhost:58620 站点的物理目录在哪里?谢谢。
【问题讨论】:
标签: asp.net iis iis-express