40 references to Application
Microsoft.AspNetCore.Components.WebAssembly.Server (6)
ComponentsWebAssemblyApplicationBuilderExtensions.cs (6)
89
AddMapping(contentTypeProvider, ".dll", MediaTypeNames.
Application
.Octet);
90
AddMapping(contentTypeProvider, ".webcil", MediaTypeNames.
Application
.Octet);
93
AddMapping(contentTypeProvider, ".pdb", MediaTypeNames.
Application
.Octet);
94
AddMapping(contentTypeProvider, ".br", MediaTypeNames.
Application
.Octet);
95
AddMapping(contentTypeProvider, ".dat", MediaTypeNames.
Application
.Octet);
96
AddMapping(contentTypeProvider, ".blat", MediaTypeNames.
Application
.Octet);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Logging\AcceptanceTests.cs (4)
215
[InlineData(MediaTypeNames.
Application
.Json, false)]
216
[InlineData(MediaTypeNames.
Application
.Xml, false)]
297
request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue(MediaTypeNames.
Application
.Json));
357
httpMessage.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue(MediaTypeNames.
Application
.Json));
Logging\HeaderReaderTests.cs (1)
53
[HeaderNames.ContentType] = MediaTypeNames.
Application
.Pdf
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\HttpHeadersReaderTest.cs (2)
132
requestContent.Headers.ContentType = new(MediaTypeNames.
Application
.Soap);
154
expectedRequest.Add(new KeyValuePair<string, string>("Content-Type", MediaTypeNames.
Application
.Soap));
System.Memory.Data (10)
System\BinaryData.cs (10)
50
/// Gets the MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.
70
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
128
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
156
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
177
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
196
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
236
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
265
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
330
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
357
/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.
Application
.Octet"/>.</param>
System.Net.Mail (17)
System\Net\Mime\MediaTypeNames.cs (17)
11
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data consists of url-encoded key-value pairs.</summary>
14
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in gzip format.</summary>
17
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in JSON format.</summary>
20
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in JSON patch format.</summary>
23
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in JSON text sequence format.</summary>
26
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in Web Application Manifest.</summary>
29
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is not interpreted.</summary>
32
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in Portable Document Format (PDF).</summary>
35
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in JSON problem detail format.</summary>
38
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in XML problem detail format.</summary>
41
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in Rich Text Format (RTF).</summary>
44
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is a SOAP document.</summary>
47
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in WASM format.</summary>
50
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in XML format.</summary>
53
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in XML Document Type Definition format.</summary>
56
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is in XML patch format.</summary>
59
/// <summary>Specifies that the <see cref="MediaTypeNames.
Application
"/> data is compressed.</summary>