We need to add following config setting in web.config file in order to serve a file using IIS which has no extension.
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension="." mimeType="text/plain" />
</staticContent>
</system.webServer>
</configuration>