标签:
public ActionResult About() { byte[] ss = System.Text.Encoding.UTF8.GetBytes("111122"); HttpContext.Response.OutputStream.Write(ss, 0, ss.Length); HttpContext.Response.ContentType = "text/plain"; HttpContext.Response.End(); return Content(""); }
在MVC里使用 HttpContext.Response输出内容
标签:
原文地址:http://www.cnblogs.com/sgciviolence/p/5612293.html