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