venerdì 21 novembre 2014

IIS Express and json mimeType

In order to add JSON mime type to IIS Express, perform the following:
  1. Open a console application with administrator privilages.
  2. Navigation to the IIS Express directory. This lives under Program Files or Program Files (x86)
  3. Run the command: 
appcmd set config /section:staticContent /+[fileExtension='JSON',mimeType='application/json']

Nessun commento: