IIS 7 does not provide access to files that are not added in <staticContent>
To provide access we have to give mappings in the configuration file.
Add below mentioned code (mappings) to web.config file.
<system.webServer> <staticContent> <mimeMap fileExtension=".json" mimeType="application/json" /> </staticContent> </system.webServer>
Post Comments(0)