Visual Studio debugger to solve the problem when you can not directly access the file suffix .json

In Web.config as follows:

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

 

Reproduced in: https: //www.cnblogs.com/davidgu/p/6244427.html

Guess you like

Origin blog.csdn.net/weixin_33735077/article/details/93803128