摘要: public class WcfChannelFactory { public WcfChannelFactory() { } /// /// 执行方法 WSHttpBinding /// /// 服务接口 /// wcf地址 ... 阅读全文
posted @ 2016-07-01 11:07 以沫浅夏 阅读(1066) 评论(1) 推荐(0) 编辑
摘要: public abstract class SessionHandler : IDisposable { /// /// 缓存更新线程 /// Thread SessionThread; /// /// 最后更新时间 /// public DateTi... 阅读全文
posted @ 2016-04-21 16:15 以沫浅夏 阅读(151) 评论(0) 推荐(0) 编辑
摘要: public abstract class SessionHandler : IDisposable where T : new() { /// /// 缓存更新线程 /// Thread SessionThread; /// /// 最后更新时间 /... 阅读全文
posted @ 2016-04-21 16:13 以沫浅夏 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1、先使用win+r运行cmd2、执行osql -S DESKTOP-RGBEDS3 -U sa -P liyang -d FGCPOE_十院 -i D:\数据库\script.sql即可! 阅读全文
posted @ 2015-12-21 15:08 以沫浅夏 阅读(963) 评论(0) 推荐(0) 编辑
摘要: /// /// 执行存储过程获取带有Out的参数 /// /// 存储过程名称 /// 输出的参数名 /// 所传参数(必须按照存储过程参数顺序) /// 链接字符串 /// ... 阅读全文
posted @ 2015-12-10 17:09 以沫浅夏 阅读(6792) 评论(0) 推荐(0) 编辑
摘要: Oracle使用: create or replace PROCEDURE FG_BM_MakeLSH ( v_type VARCHAR2 , v_mc VARCHAR2, v_num number, cur_OUT out sys_refcursor )ASbegin--2015-12-02 CP 阅读全文
posted @ 2015-10-17 13:59 以沫浅夏 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 一、同步读写文件(在并发情况下不会发生文件被占用异常)static void Main(string[] args) { Parallel.For(0, 10000, e => { string str = "测试测试测试测试测... 阅读全文
posted @ 2015-09-11 22:30 以沫浅夏 阅读(5045) 评论(0) 推荐(1) 编辑
摘要: 1.WebClient类(1)WebClient类的主要方法 DownloadXXX()方法: 下载URI资源文件 OpenXXX()方法: 打开URI资源流 UploadXXX()方法: 上传资源到URI(2)DownloadData()方法clas... 阅读全文
posted @ 2015-09-10 13:24 以沫浅夏 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1.文件系统(1)文件系统类的介绍 文件操作类大都在System.IO命名空间里。FileSystemInfo类是任何文件系统类的基类;FileInfo与File表示文件系统中的文件;DirectoryInfo与Directory表示文件系统中的文件夹;Path表示文件系统中的路径;Drive... 阅读全文
posted @ 2015-09-10 13:22 以沫浅夏 阅读(15179) 评论(8) 推荐(6) 编辑
摘要: 如果没有按照正常的先装iis后装.net的顺序,可以使用此命令重新注册一下:32位的Windows:---------------------------------------------------------------------------1. 运行->cmd 2. cd C:\Wind... 阅读全文
posted @ 2015-09-01 13:05 以沫浅夏 阅读(248) 评论(0) 推荐(0) 编辑