Class ContentType
Contains common MIME type values.
Inheritance
System.Object
ContentType
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public static class ContentType
Fields
| Improve this Doc View SourceApplicationJavaScript
"application/x-javascript" (js) MIME type value.
Declaration
public const string ApplicationJavaScript = "application/x-javascript"
Field Value
Type | Description |
---|---|
System.String |
ApplicationJson
"application/json" (json) MIME type value.
Declaration
public const string ApplicationJson = "application/json"
Field Value
Type | Description |
---|---|
System.String |
ApplicationOctetStream
"application/octet-stream" (exe) MIME type value.
Declaration
public const string ApplicationOctetStream = "application/octet-stream"
Field Value
Type | Description |
---|---|
System.String |
ApplicationXml
"application/xml" (xml) MIME type value.
Declaration
public const string ApplicationXml = "application/xml"
Field Value
Type | Description |
---|---|
System.String |
ApplicationZip
"application/zip" (zip) MIME type value.
Declaration
public const string ApplicationZip = "application/zip"
Field Value
Type | Description |
---|---|
System.String |
AudioMpeg
"audio/mpeg" (mp3) MIME type value.
Declaration
public const string AudioMpeg = "audio/mpeg"
Field Value
Type | Description |
---|---|
System.String |
AudioVorbis
"audio/vorbis" (ogg) MIME type value.
Declaration
public const string AudioVorbis = "audio/vorbis"
Field Value
Type | Description |
---|---|
System.String |
FormUrlEncoded
"application/x-www-form-urlencoded" MIME type value.
Declaration
public const string FormUrlEncoded = "application/x-www-form-urlencoded"
Field Value
Type | Description |
---|---|
System.String |
ImageBmp
"image/bmp" (bmp) MIME type value.
Declaration
public const string ImageBmp = "image/bmp"
Field Value
Type | Description |
---|---|
System.String |
ImageGif
"image/gif" (gif) MIME type value.
Declaration
public const string ImageGif = "image/gif"
Field Value
Type | Description |
---|---|
System.String |
ImageJpeg
"image/jpeg" (jpeg or jpg) MIME type value.
Declaration
public const string ImageJpeg = "image/jpeg"
Field Value
Type | Description |
---|---|
System.String |
ImagePng
"image/png" (png) MIME type value.
Declaration
public const string ImagePng = "image/png"
Field Value
Type | Description |
---|---|
System.String |
TextCss
"text/css" (css) MIME type value.
Declaration
public const string TextCss = "text/css"
Field Value
Type | Description |
---|---|
System.String |
TextHtml
"text/html" (html) MIME type value.
Declaration
public const string TextHtml = "text/html"
Field Value
Type | Description |
---|---|
System.String |
TextPlain
"text/plain" (txt) MIME type value.
Declaration
public const string TextPlain = "text/plain"
Field Value
Type | Description |
---|---|
System.String |
VideoAvi
"video/avi" (avi) MIME type value.
Declaration
public const string VideoAvi = "video/avi"
Field Value
Type | Description |
---|---|
System.String |
VideoMpeg
"video/mpeg" (mpeg) MIME type value.
Declaration
public const string VideoMpeg = "video/mpeg"
Field Value
Type | Description |
---|---|
System.String |
VideoQuicktime
"video/quicktime" (qt) MIME type value.
Declaration
public const string VideoQuicktime = "video/quicktime"
Field Value
Type | Description |
---|---|
System.String |