using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Text; namespace WeiXin.Core { public class ResponseHelper { public static void Success(string Data) { HttpContext context = HttpContext.Current; context.Response.ContentType = "text/xml"; context.Response.ContentEncoding = Encoding.UTF8; context.Response.Write(Data); } } }