StaticFileOptions.ServeUnknownFileTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If the file is not a recognized content-type should it be served? Default: false.
public:
property bool ServeUnknownFileTypes { bool get(); void set(bool value); };
public bool ServeUnknownFileTypes { get; set; }
member this.ServeUnknownFileTypes : bool with get, set
Public Property ServeUnknownFileTypes As Boolean