How to allow IIS express to access any file extensio

iis, mime

Solution

You can change the config file that IIS express use it:

- Right click on IIS Express icon on traybar then click on "Show All Application"

- Select your application name and click on config address in bottom of application list.

- Opened file contains xml elements. you must find "staticConten" element then add your intended mapping.

Problem

I have multiple images but i have changed the extension for my own purpose. So I have multiple extension. When I try to display my image I got an error that my extension is not mapped to a mime type. So how can I display my image without changing the extension because I have a lot. With Apache wamp server I tested all images and it can be displayed. Then with IIS express included within visual studio 2017, is there a way to do the mapping. I also did the mapping individually but this cannot be good solution for me because I have many images file.

Original source