摘要: 转载:https://www.cnblogs.com/wuhuacong/archive/2013/02/22/2922195.html WCF寄宿方式是一种非常灵活的操作,可以在IIS服务、Windows服务、Winform程序、控制台程序中进行寄宿,从而实现WCF服务的运行,为调用者方便、高效提 阅读全文
posted @ 2018-07-04 15:48 chenlijun0102 阅读(152) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text.RegularExpressions;using System.Web; namespace Common{ public class 阅读全文
posted @ 2018-07-04 11:18 chenlijun0102 阅读(202) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u010028869/article/details/47428969 此篇博客写的很清晰,但,验证码应该在后台生成,需改点 阅读全文
posted @ 2018-06-27 22:46 chenlijun0102 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1。。。动态库.dll文件直接放在应用程序的主目录bin里面,不添加引用,用下面的方式 好处:减少项目集成负载 2。。。服务里一般只能提供数据,处理程序逻辑,窗体这些写不了 阅读全文
posted @ 2018-06-19 16:35 chenlijun0102 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 转载地址: https://www.cnblogs.com/zhao123/p/5599096.html WebService工作原理: Web Service也叫XML Web Service WebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求,轻 阅读全文
posted @ 2018-06-19 15:30 chenlijun0102 阅读(3762) 评论(0) 推荐(0) 编辑
摘要: Web Service 1、它是基于SOAP协议的,数据格式是XML 2、只支持HTTP协议 3、它不是开源的,但可以被任意一个了解XML的人使用 4、它只能部署在IIS上 WCF 1、这个也是基于SOAP的,数据格式是XML 2、这个是Web Service(ASMX)的进化版,可以支持各种各样的 阅读全文
posted @ 2018-06-19 14:48 chenlijun0102 阅读(384) 评论(0) 推荐(0) 编辑
摘要: WCF服务生成dll后,被windows服务引用,windows服务作为WCF服务库的宿主程序,例子见: https://blog.csdn.net/meerio/article/details/49429493 WCF本身不能够独自运行(每个WCF服务必须宿主在一个Windows进程中),WCF的 阅读全文
posted @ 2018-06-19 14:12 chenlijun0102 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 此例子写的很简单,步骤也很详细:https://www.cnblogs.com/cncc/p/7156300.html?utm_source=gold_browser_extension 阅读全文
posted @ 2018-06-19 13:34 chenlijun0102 阅读(157) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Net;using System.Net.Http;using System.Threading.Tasks;u 阅读全文
posted @ 2018-06-14 17:04 chenlijun0102 阅读(225) 评论(0) 推荐(0) 编辑
摘要: C#中有时候需要将内存中的数据批量插入到数据库表中,使用for循环进行批量插入不但耗时而且会频繁操作数据库。 针对数据量很少的可以使用for循环插入,但是针对于数据量大的则不推荐使用for循环插入,推荐使用sql的块处理插入。 块处理不但耗时少而且不会频繁对数据库进行操作,只是需要注意的一点是Dat 阅读全文
posted @ 2018-05-31 22:32 chenlijun0102 阅读(519) 评论(0) 推荐(0) 编辑