摘要:
using Newtonsoft.Json; using System.Net.Http.Headers; public static class APIHepler { public static string Get(string url) { HttpClient client = new HttpClient(... 阅读全文
摘要:
using System.Data; using System.IO; using System.Xml; using System.Xml.Serialization; /// /// XML 操作基类 /// public static class XmlHelper { /// /// 将xml转为Data... 阅读全文
摘要:
using Newtonsoft.Json; using System.Runtime.Serialization.Json; using System.Text; public class JsonHelper { /// /// 生成Json格式 /// /// ///... 阅读全文
摘要:
WebAPI返回xml、json格式简单示例 public static List<Student> list = new List<Student> 阅读全文