asp.net不允许访问.json文件的解决办法 web.config中添加: <system.webServer> <staticContent> <mimeMap fileExtension=".json" mimeType="application/json"/> </staticContent> </system.webServer>