Sometimes you migth get a 404 when trying to server JSON files from localhost. Adding the mime type to the web.config file solves the issue
<system.webServer>
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
</system.webServer>
Solution found on Stack Overflow