11 writes to ContentType
BasicWebSite (2)
Controllers\JsonResultWithNewtonsoftJsonController.cs (1)
29result.ContentType = "application/message+json";
Controllers\JsonResultWithSystemTextJsonController.cs (1)
26result.ContentType = "application/message+json";
Microsoft.AspNetCore.Mvc.Core.Test (5)
Infrastructure\JsonResultExecutorTestBase.cs (4)
51result.ContentType = "text/json"; 74ContentType = "text/json; charset=utf-16", 116result.ContentType = new MediaTypeHeaderValue("text/json") 402ContentType = "text/json; charset=utf-16",
Infrastructure\SystemTextJsonResultExecutorTest.cs (1)
28ContentType = "application/json; charset=utf-16",
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (4)
src\Mvc\Mvc.Core\test\Infrastructure\JsonResultExecutorTestBase.cs (4)
51result.ContentType = "text/json"; 74ContentType = "text/json; charset=utf-16", 116result.ContentType = new MediaTypeHeaderValue("text/json") 402ContentType = "text/json; charset=utf-16",
2 references to ContentType
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\SystemTextJsonResultExecutor.cs (1)
44result.ContentType,
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonResultExecutor.cs (1)
78result.ContentType,