Hi there,
In DW 9 when I needed to let the user download files with an unknown extension, I'd create a mime-type mapping in IIS.
In core, this is now done with AddStaticFiles. Where in DW can I configure which extensions to allow? I am looking for the equivalent of this where I can register .step (Auto Cad) files:
app.UseStaticFiles(new StaticFileOptions
{
ContentTypeProvider = new FileExtensionContentTypeProvider
{
Mappings =
{
[".step"] = "application/step"
}
}
});
I searched the source code but can't find anything that I can use.