Display files without extension as text/plain


Hello everyone, in order to verify a SSL certificate, I needed to display a file without extension as plain text. If you use usual settings you will see this message:

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

to avoid this problem, we need to create a web.config file and paste this code

<?xml version="1.0" encoding="UTF-8"?>
	   <mimeMap fileExtension="." mimeType="text/html" />

this file must be placed at wwwroot folder.