MY TESTED ASP.NET CORE MVC DOCS
Show / Hide Table of Contents

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 Source

ApplicationJavaScript

"application/x-javascript" (js) MIME type value.

Declaration
public const string ApplicationJavaScript = "application/x-javascript"
Field Value
Type Description
System.String
| Improve this Doc View Source

ApplicationJson

"application/json" (json) MIME type value.

Declaration
public const string ApplicationJson = "application/json"
Field Value
Type Description
System.String
| Improve this Doc View Source

ApplicationOctetStream

"application/octet-stream" (exe) MIME type value.

Declaration
public const string ApplicationOctetStream = "application/octet-stream"
Field Value
Type Description
System.String
| Improve this Doc View Source

ApplicationXml

"application/xml" (xml) MIME type value.

Declaration
public const string ApplicationXml = "application/xml"
Field Value
Type Description
System.String
| Improve this Doc View Source

ApplicationZip

"application/zip" (zip) MIME type value.

Declaration
public const string ApplicationZip = "application/zip"
Field Value
Type Description
System.String
| Improve this Doc View Source

AudioMpeg

"audio/mpeg" (mp3) MIME type value.

Declaration
public const string AudioMpeg = "audio/mpeg"
Field Value
Type Description
System.String
| Improve this Doc View Source

AudioVorbis

"audio/vorbis" (ogg) MIME type value.

Declaration
public const string AudioVorbis = "audio/vorbis"
Field Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

ImageBmp

"image/bmp" (bmp) MIME type value.

Declaration
public const string ImageBmp = "image/bmp"
Field Value
Type Description
System.String
| Improve this Doc View Source

ImageGif

"image/gif" (gif) MIME type value.

Declaration
public const string ImageGif = "image/gif"
Field Value
Type Description
System.String
| Improve this Doc View Source

ImageJpeg

"image/jpeg" (jpeg or jpg) MIME type value.

Declaration
public const string ImageJpeg = "image/jpeg"
Field Value
Type Description
System.String
| Improve this Doc View Source

ImagePng

"image/png" (png) MIME type value.

Declaration
public const string ImagePng = "image/png"
Field Value
Type Description
System.String
| Improve this Doc View Source

TextCss

"text/css" (css) MIME type value.

Declaration
public const string TextCss = "text/css"
Field Value
Type Description
System.String
| Improve this Doc View Source

TextHtml

"text/html" (html) MIME type value.

Declaration
public const string TextHtml = "text/html"
Field Value
Type Description
System.String
| Improve this Doc View Source

TextPlain

"text/plain" (txt) MIME type value.

Declaration
public const string TextPlain = "text/plain"
Field Value
Type Description
System.String
| Improve this Doc View Source

VideoAvi

"video/avi" (avi) MIME type value.

Declaration
public const string VideoAvi = "video/avi"
Field Value
Type Description
System.String
| Improve this Doc View Source

VideoMpeg

"video/mpeg" (mpeg) MIME type value.

Declaration
public const string VideoMpeg = "video/mpeg"
Field Value
Type Description
System.String
| Improve this Doc View Source

VideoQuicktime

"video/quicktime" (qt) MIME type value.

Declaration
public const string VideoQuicktime = "video/quicktime"
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX