Configure IIS to serve SVG and JSON files

This post describes how you can configure IIS to serve .svg and .json files.

  1. Start IIS Manager.

  2. Select your http://localhost connection from the Connections panel.

  3. Select MIME Types configuration.

  4. Click Add … from the Actions panel.

  5. Enter details as follows:
    File name extension: .svg
    MIME Type description: image/svg+xml

  6. Repeat the process for JSON file type.
    File name extension: .json
    MIME Type description: application/json