33 writes to ContentType
System.Runtime.Remoting (1)
channels\http\httpremotinghandler.cs (1)
298context.Response.ContentType = ComposeContentType("text/plain", Encoding.UTF8);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
848this.context.Response.ContentType = contentType;
System.Web (18)
Abstractions\HttpResponseWrapper.cs (1)
92_httpResponse.ContentType = value;
ErrorFormatter.cs (1)
294context.Response.ContentType = wmlContentType;
Handlers\AssemblyResourceLoader.cs (1)
652context.Response.ContentType = contentType;
Handlers\TraceHandler.cs (1)
101_response.ContentType = _request.Browser.PreferredRenderingMime;
HttpResponse.cs (2)
2016ContentType = value; 2414this.ContentType = "text/html";
HttpRuntime.cs (1)
1739response.ContentType = "text/html";
Security\PassportIdentity.cs (1)
1027context.Response.ContentType = "image/gif";
State\StateRuntime.cs (1)
261context.Response.ContentType = null;
StaticFileHandler.cs (5)
324response.ContentType = MimeMapping.GetMimeMapping(virtualPath); 442response.ContentType = contentType; 449response.ContentType = MULTIPART_CONTENT_TYPE; 550response.ContentType = MimeMapping.GetMimeMapping(physicalPath); 575response.ContentType = null;
UI\Page.cs (3)
3820set { Response.ContentType = value; } 5275Response.ContentType = "application/mswebpart"; 5592_response.ContentType = caps.PreferredRenderingMime;
Util\AspCompat.cs (1)
738_context.Response.ContentType = contentType;
System.Web.DataVisualization (4)
WebForm\ChartWebControl.cs (3)
711this.Page.Response.ContentType = "image/bmp"; 714this.Page.Response.ContentType = "image/jpeg"; 717this.Page.Response.ContentType = "image/png";
WebForm\General\ChartHttpHandler.cs (1)
269context.Response.ContentType = GetMime(key);
System.Web.Extensions (6)
Handlers\ScriptModule.cs (2)
90context.Response.ContentType = "text/plain"; 144response.ContentType = "text/plain";
HttpResponseInternalWrapper.cs (1)
34_httpResponse.ContentType = value;
Script\Services\RestClientProxyHandler.cs (1)
17context.Response.ContentType = "application/x-javascript";
Script\Services\RestHandler.cs (2)
176context.Response.ContentType = contentType; 223context.Response.ContentType = "application/json";
System.Web.Mobile (3)
UI\MobileControls\Adapters\MobileTextWriter.cs (1)
151HttpContext.Current.Response.ContentType = contentType;
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
206Page.Response.ContentType = _contentType;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlCssHandler.cs (1)
37context.Response.ContentType="text/css";
5 references to ContentType
System.Web (4)
Abstractions\HttpResponseWrapper.cs (1)
89return _httpResponse.ContentType;
ErrorFormatter.cs (1)
291if (String.Compare(context.Response.ContentType, 0,
UI\Page.cs (1)
3821get { return Response.ContentType; }
Util\AspCompat.cs (1)
734return _context.Response.ContentType;
System.Web.Extensions (1)
HttpResponseInternalWrapper.cs (1)
31return _httpResponse.ContentType;