Q:

Serve static file without file extension in ASP.net

I want to imitate a REST-Server (for testing purposes) and therefore want to make some static text files available at certain URLs on localhost.
When I try to just put those files in a Visual Studio folder, that is available via HTTP, then I get an error 404.17, saying that the file seems to be a script.
How can I tell my Visual Studio / IIS, that this file should not be executed, but be served 1:1 to the client?

A:

Ensure the file's extension is included in the "Mime types" list of the containing site.

