Quoting Release Notes for 1.2.45
– Added <add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” /> to Web.config under <handlers> in all project templates to prevent IIS from service the json configuration files.
Currently web.config says
<add name="json" verb="*" path="*.json" type="System.Web.StaticFileHandler" />
under
<system.webServer> <handlers>
Please update Concepts – Configuration accordingly.
Hi Tiago,
Yes it’s HttpForbiddenHandler, looks like it wasn’t updated. I can see the correct one in SVN but the wrong one in deployment. Will update, thanks.
/Luca
Now it’s probably the VS template cache that has not bee refreshed by VS.
devenv /installvstemplates
Should update the templates.
Running 1.2.47.0 and the web.config of a new project still shows
<add name="json" verb="*" path="*.json" type="System.Web.StaticFileHandler" />