IIS supports parsing JSON

Source: Internet
Author: User

Tag: NET ICA access to the next machine action add post. JSON type

One, Windows XP

1. MIME settings:
In the HTTP header settings for the IIS site Properties, click "File Type"-"new Type" in the MIME map to add a file type:
Association extension: *. JSON
Content Type (MIME): Application/x-javascript

2. Script Map Handler settings:
Or in the site properties of IIS , home directory-Application Settings-configuration-mappings-Add, opens the Settings page for Add/Edit application extension mappings
Extension:. JSON
Run File: C:\WINDOWS\system32\inetsrv\asp.dll
Action: Get,post

3. Save, restart IISand you should be able to access it. If not, please restart the machine to see.

Second, Windows 7

1. Select the site you want to set on the left (Figure 1), select the MIME type in IIS (Figure 2), and double-click Enter.

2, enter after the selection to add (in 1), the Add MIME Type dialog box (2), enter ". JSON" in the file name extension, enter "Text/json" in the MIME type (do not double quotes). Click OK, then restart the website

3. If the above steps do not read the JSON data, then you need to add "handler mapping" in IIS, step


Then you can re-site.

IIS supports parsing JSON

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.