40 references to Application
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Logging\AcceptanceTests.cs (4)
259[InlineData(MediaTypeNames.Application.Json, false)] 260[InlineData(MediaTypeNames.Application.Xml, false)] 383request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue(MediaTypeNames.Application.Json)); 443httpMessage.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue(MediaTypeNames.Application.Json));
Logging\HeaderReaderTests.cs (1)
53[HeaderNames.ContentType] = MediaTypeNames.Application.Pdf
Microsoft.AspNetCore.Http.Abstractions (1)
Metadata\ProducesResponseTypeMetadata.cs (1)
93contentTypes = [MediaTypeNames.Application.ProblemJson];
Microsoft.AspNetCore.Http.Results (1)
HttpResultsHelper.cs (1)
40contentType = MediaTypeNames.Application.ProblemJson;
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\ObjectResultExecutor.cs (2)
133result.ContentTypes.Insert(0, MediaTypeNames.Application.ProblemJson); 134result.ContentTypes.Insert(1, MediaTypeNames.Application.ProblemXml);
Microsoft.AspNetCore.Routing (1)
ValidationEndpointFilterFactory.cs (1)
121context.HttpContext.Response.ContentType = MediaTypeNames.Application.ProblemJson;
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\HttpHeadersReaderTest.cs (2)
132requestContent.Headers.ContentType = new(MediaTypeNames.Application.Soap); 154expectedRequest.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> 153/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Application.Octet"/>.</param> 174/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Application.Octet"/>.</param> 193/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Application.Octet"/>.</param> 233/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Application.Octet"/>.</param> 259/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Application.Octet"/>.</param> 321/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Application.Octet"/>.</param> 345/// <param name="mediaType">MIME type of this data, e.g. <see cref="MediaTypeNames.Application.Octet"/>.</param>
System.Net.Mail (18)
System\Net\Mime\MediaTypeNames.cs (18)
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 in YAML format.</summary> 62/// <summary>Specifies that the <see cref="MediaTypeNames.Application"/> data is compressed.</summary>