上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
  2015年4月25日
摘要: webservice 原理1.soap协议,其实就是用http协议来传输xml格式的数据,可以post,get。一般有post。2.服务端有:本地程序代码(也不是dll)和xml格式的文件用来描述dll信息:方法名,返回值,参数等信息。3客户端有:本地程序代码(也不是dll)和xml格式的文件用来描 阅读全文
posted @ 2015-04-25 20:56 wolf12 阅读(137) 评论(0) 推荐(0) 编辑
  2015年4月24日
摘要: public static Task<double> GetValueAsync(double num1, double num2) { return Task.Run(() => { Console.WriteLine(AppDomain.GetCurrentThreadId()); for (i 阅读全文
posted @ 2015-04-24 00:01 wolf12 阅读(125) 评论(0) 推荐(0) 编辑
  2015年4月23日
摘要: 阅读全文
posted @ 2015-04-23 21:18 wolf12 阅读(184) 评论(0) 推荐(0) 编辑
  2015年4月22日
摘要: HTTP.sys->IO线程-CLR线程池中的worker线程处理IO线程只负责把请求交给Worker线程或者放入进程池级别的队列,然后又去HTTP.SYS的队列中处理其它的请求 阅读全文
posted @ 2015-04-22 15:48 wolf12 阅读(241) 评论(0) 推荐(0) 编辑
摘要: APM和EAP是在async/await之前的两种不同的异步编程模式。 APM如果不阻塞主线程,那么完成通知(回调)就会执行在另外一个线程中,从而给我们更新UI带来一定的问题。 EAP的通知事件是在主线程中执行的,不会存在UI交互的问题。 最后,我们还学习了在Winform下不同线程之间交互的问题, 阅读全文
posted @ 2015-04-22 00:26 wolf12 阅读(192) 评论(0) 推荐(0) 编辑
  2015年4月15日
摘要: 解决的办法:1. 不要使用自动收缩, 自动收缩会定期收容数据文件的空闲空间,则处理需要的时候却要扩大数据文件,这两者相反的处理,是冲突的设置方法:ALTER DATABASE MyDataBase SET AUTO_SHRINK OFF 2. 如果你不进行事务日志备份, 也不需要利用事务日志做处理, 阅读全文
posted @ 2015-04-15 23:24 wolf12 阅读(592) 评论(0) 推荐(0) 编辑
  2015年4月10日
摘要: 创建型模式 单例模式:解决的是实例化对象的个数的问题,比如抽象工厂中的工厂、对象池等,除了Singleton之外,其他创建型模式解决的都是 new 所带来的耦合关系。 抽象工厂:创建一系列相互依赖对象,并能在运行时改变系列。 工厂方法:创建单个对象,在Abstract Factory有使用到。 原型 阅读全文
posted @ 2015-04-10 15:48 wolf12 阅读(184) 评论(0) 推荐(0) 编辑
  2015年4月4日
摘要: --1.将字符串转换为列显示 if object_id('tb') is not null drop table tb go create table tb([编号] varchar(3),[产品] varchar(2),[数量] int,[单价] int,[金额] int,[序列号] varcha 阅读全文
posted @ 2015-04-04 08:37 wolf12 阅读(504) 评论(0) 推荐(0) 编辑
  2015年4月2日
摘要: Unless MS DTC is currently installed on the computer running the instance of the Database Engine, this example produces an error message. For more inf 阅读全文
posted @ 2015-04-02 23:04 wolf12 阅读(318) 评论(0) 推荐(0) 编辑
  2015年3月31日
摘要: public class FastInvoke { public delegate object FastInvokeHandler(object target, object[] paramters); static object InvokeMethod(FastInvokeHandler in 阅读全文
posted @ 2015-03-31 00:00 wolf12 阅读(1084) 评论(0) 推荐(1) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页