解决Visual Studio 调试时候不能直接访问.json后缀文件的问题

Web.config中作如下配置:

<system.webServer>
   <staticContent>
     <mimeMap fileExtension=".json" mimeType="application/json" />
   </staticContent>
 </system.webServer>

 

posted @ 2017-01-03 12:22  Master HaKu  阅读(1020)  评论(0编辑  收藏  举报