在家里用vs2015 这样没问题,
在公司用vs2013这样调,报错
由于扩展配置问题而无法提供您请求的页面。如果该页面是脚本,请添加处理程序。如果应下载文件,请添加 MIME 映射。
此问题是由于没有配置mime,mrt的,在配置文件中添加配置即可
<system.webServer>
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".mrt" mimeType="application/json" />
</staticContent>
</system.webServer>
重启即可