ASP.NET Core Static Site Helper
Used by the ASP.NET Core static web template.
MimeType mappings
All standard mime types defined here by ASP.NET Core are enabled by default, but you can modify the supported file extensions/mime types.
By dropping a JSON file in the root of the project (not wwwroot) called mimetypes.json you can control the behavior. Here's an example:
{
".foo": "text/plain",
".vsix": "application/octet-stream"
}You can use this file to modify extension mappings or create new ones. A rebuild of the project might be required for any changes to take effect after modifying the file.