Cannot view a json file explicitly from the server using URL its telling File not Found
You have to allow JSON
files in your web.config
<system.webServer> <staticContent> <mimeMap fileExtension=".json" mimeType="application/json" /> </staticContent> </system.webServer>
You can check this article for a more detailed explanation about how to add mime types.
In some cases this creates a conflict with the same mime map in the applicationhost.config
file. If so, then you have to remove the fileExtension
first, like this:
<system.webServer> <staticContent> <remove fileExtension=".json" /> <mimeMap fileExtension=".json" mimeType="application/json" /> </staticContent> </system.webServer>