Release 1.2.45.0 json handler

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
Answered
0
0

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>
  1. Shall we replace HttpForbiddenHandler by HttpForbiddenHandler?
  2. I created a new project and the web.config continues to refer the same old “StaticFileHandler”
  • You must to post comments
Best Answer
0
0

Please update Concepts – Configuration accordingly.

  • You must to post comments
Great Answer
0
0

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

  • You must to post comments
0
0

Solved.

  • You must to post comments
0
0

Now it’s probably the VS template cache that has not bee refreshed by VS.

devenv /installvstemplates

Should update the templates.

 

 

  • You must to post comments
0
0

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" />

  • You must to post comments
Showing 5 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json