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’]

Advertisements

One thought on “Configure JSON Mime type for IIS Express

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s