摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using System.Con 阅读全文
posted @ 2018-01-08 15:01 萌橙 阅读(353) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; using System.Con 阅读全文
posted @ 2018-01-08 14:54 萌橙 阅读(293) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using System.Data; using DC.BE.Entity; namespace DC.BE 阅读全文
posted @ 2018-01-08 14:53 萌橙 阅读(456) 评论(0) 推荐(0)
摘要: 长轮询:客户端向服务器发送Ajax请求,服务器接到请求后hold住连接,直到有新消息才返回响应信息并关闭连接,客户端处理完响应信息后再向服务器发送新的请求。 优点:在无消息的情况下不会频繁的请求。 缺点:服务器hold连接会消耗资源。 if not exists(select 1 from sys. 阅读全文
posted @ 2018-01-08 14:09 萌橙 阅读(4516) 评论(2) 推荐(2)