摘要: public static string PraseToJson(string json) { try { JsonSerializer s = new JsonSerializer(); ... 阅读全文
posted @ 2015-11-05 15:43 小川丶 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-12-25 16:52 小川丶 阅读(201) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace weekDemo{ class Program { static void Main(st... 阅读全文
posted @ 2014-09-26 00:36 小川丶 阅读(793) 评论(0) 推荐(0) 编辑
摘要: test 阅读全文
posted @ 2014-09-09 17:31 小川丶 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 在Entity Framework repository下加两个方法: public virtual T GetByEntityName(object id, string EntityTypeName) { dynamic repository =... 阅读全文
posted @ 2014-09-09 17:17 小川丶 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 一: 通过Nuget下载安装Microsoft.AspNet.SignalR(v2.1.1),注: 这个版本的Framework版本是:V4.5二: 配置service端: 1 using System; 2 using System.Threading.Tasks; 3 using Microso... 阅读全文
posted @ 2014-09-04 15:13 小川丶 阅读(336) 评论(0) 推荐(0) 编辑
摘要: public class HttpHelper { private static CookieContainer _cc = new CookieContainer(); private static WebProxy _proxy; private st... 阅读全文
posted @ 2014-09-03 10:09 小川丶 阅读(612) 评论(0) 推荐(0) 编辑
摘要: dynamicOBJ.GetType().GetProperty("key").GetValue(dynamicOBJ, null) 阅读全文
posted @ 2014-07-28 12:57 小川丶 阅读(311) 评论(0) 推荐(0) 编辑
摘要: IIS 部署后访问*.* config 配置: 阅读全文
posted @ 2014-07-23 14:52 小川丶 阅读(167) 评论(0) 推荐(0) 编辑
摘要: create function f_pid(@id varchar(3)) returns @t_level table(id varchar(3)) as begin insert into @t_level select @id select @id = IDParent from NodeNet where IDChild = @id and IDParent is not null while @@ROWCOUNT > 0 begin insert into @t_level select @id select @id = IDParent from NodeNet where 阅读全文
posted @ 2014-03-04 13:24 小川丶 阅读(136) 评论(0) 推荐(0) 编辑