StaticFileOptions.DefaultContentType 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.
The default content type for a request if the ContentTypeProvider cannot determine one. None is provided by default, so the client must determine the format themselves. http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7
public:
property System::String ^ DefaultContentType { System::String ^ get(); void set(System::String ^ value); };
public string DefaultContentType { get; set; }
public string? DefaultContentType { get; set; }
member this.DefaultContentType : string with get, set
Public Property DefaultContentType As String