Category Archives: IIS and IIS Express

Configure JSON Mime type for IIS Express

To Configure JSON mime type to IIS Express, perform the following:

  1. Open Visual Studio Command Prompt, using Run as Administrator Option.
  2. Navigate to IIS Express Directory (C:\Program Files (x86)\IIS Express)
  3. Run the following command

appcmd set config /section:staticContent /+[fileExtension=’JSON’,mimeType=’application/x-javascript’]