posted @ 2018-02-22 01:47 火冰·瓶 阅读(373) 评论(0) 推荐(0)
摘要:
1、Ubuntu 上 安装NET Core 2.0 SDK 第一步的安装,微软大佬已经写的非常详细了=》直达链接,按照教程来即可。 2、将我们的WEB 发布到一个文件夹,将这个文件夹打包成 压缩文件,准备上传。 3、通过Xshell ssh 连接到 服务器(ps:如果不知道怎么用Xshell的请自行 阅读全文
摘要:
public static class XSerializer { /// /// 将对象序列化为xml字符串 /// /// 类型 /// 对象 public static string ObjectToXml(T t) where T : class { ... 阅读全文
posted @ 2018-02-19 19:45 火冰·瓶 阅读(124) 评论(0) 推荐(0)
摘要:
private static void Log(string content, string fileName="log.txt") { string logsPath = AppDomain.CurrentDomain.BaseDirectory + "\\App_Code\\logs\\"; string fil... 阅读全文
posted @ 2018-02-19 19:44 火冰·瓶 阅读(157) 评论(0) 推荐(0)
摘要:
public static string HttpGet(string Url, string postDataStr) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Url + (postDataStr == "" ? "" : "?") + postDataSt... 阅读全文
posted @ 2018-02-19 09:58 火冰·瓶 阅读(125) 评论(0) 推荐(0)
摘要:
private string MD5(string str) { byte[] result = Encoding.Default.GetBytes(str); //tbPass为输入密码的文本框 MD5 md5 = new MD5CryptoServiceProvider(); byt... 阅读全文
posted @ 2018-02-19 09:54 火冰·瓶 阅读(115) 评论(0) 推荐(0)
摘要:
/// /// 10位时间戳转为C#格式时间 /// /// /// public static DateTime ConvertStringToDateTime(string timeStamp) ... 阅读全文
posted @ 2018-02-19 09:53 火冰·瓶 阅读(545) 评论(0) 推荐(0)
摘要:
记录中 参考: https://www.cnblogs.com/songxingzhu/p/7399991.html https://www.cnblogs.com/goodfulcom/p/7624674.html https://docs.microsoft.com/en-us/dotnet/c 阅读全文
posted @ 2018-02-17 00:14 火冰·瓶 阅读(179) 评论(0) 推荐(0)
摘要:
使用开源的类库Newtonsoft.Json(下载地址http://json.codeplex.com/)。下载后加入工程就能用。通常可以使用JObject, JsonReader, JsonWriter处理。这种方式最通用,也最灵活,可以随时修改不爽的地方。 (1)使用JsonReader读Jso 阅读全文
posted @ 2018-02-16 23:20 火冰·瓶 阅读(172) 评论(0) 推荐(0)
摘要:
ext3.0之前都是这样来提交:var responsea = Ext.lib.Ajax.getConnectionObject().conn; responsea.open("POST", your url,false); responsea.send(null);alert("返回来的数据为:"+responsea.responseText);ext3之后好像不能这样提交了,这时候需要引入一个... 阅读全文
posted @ 2010-11-30 10:54 火冰·瓶 阅读(6454) 评论(0) 推荐(0)
摘要:
FusionCharts可以在点上定义钻取,实现各种link功能,包括:(1)同一窗口实现钻取(2)新窗口中实现钻取(3)在指定的frame中实现钻取(4) 在弹出窗口中实现钻取(5) 触发js的函数一. 同一窗口实现钻取在set上定义link,如:<set ... value='2235' ... link='ShowDetails.asp%3FMonth%3DJan' ...>XM... 阅读全文
posted @ 2010-09-05 21:19 火冰·瓶 阅读(1809) 评论(0) 推荐(0)
浙公网安备 33010602011771号