HttpContext.Current.Response.AddHeader("Content-Type", "application/json");
HttpContext.Current.Response.AddHeader("Cache-Control", "no-cache");
HttpContext.Current.Response.AddHeader("X-Custom-Header", "custom-value");The IHttpResponse AddHeader method belongs to the System.Web namespace in the .NET Framework.