我已通过编辑 applicationhost.config 将 IIS Express 配置为在路径中具有多个带正斜杠的虚拟目录。这是使路径带有正斜杠的唯一方法吗 - 手动编辑配置文件?
<virtualDirectory path="/docs/patha" physicalPath="\\unc\a\d" />
<virtualDirectory path="/docs/pathb" physicalPath="\\unc\b\d" />
<virtualDirectory path="/docs/pathc" physicalPath="\\unc\c\d" />
<virtualDirectory path="/docs/pathd" physicalPath="\\unc\d\d" />