上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: 处理程序“svc-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler” HTTP 错误 404.3 - Not Found 由于扩展配置问题而无法提供您请求的页面。如果该页面是脚本,请添加处理程序。如果应下载文件,请添加 MIME 映射。 解决办法:以管 阅读全文
posted @ 2016-06-22 13:15 程序员徐坤 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 最近在做的一个项目中需要动态调用WCF地址,因为有很多终端服务器,而每台终端服务器上都部署一个WCF服务,中央服务器需要不定时调用其中某个或者多个WCF服务执行相关操作,因此添加引用及配置文件配置的方法就不太现实,以下提供两种动态调用WCF地址的方法: 1、使用ChannelFactory类,该方法 阅读全文
posted @ 2016-06-02 16:23 程序员徐坤 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 在IIS设置中添加一个IMME fileExtension: .woff mimeType:application/x-font-woff 解决方法: 在IIS设置中添加一个IMME fileExtension: .woff mimeType:application/x-font-wof 阅读全文
posted @ 2016-06-02 15:52 程序员徐坤 阅读(683) 评论(0) 推荐(0) 编辑
摘要: $('input[type="checkbox"]').change(function(e) { var checked = $(this).prop("checked"), container = $(this).parent(), siblings = container.siblings(); container.find('input[type="... 阅读全文
posted @ 2016-05-19 15:13 程序员徐坤 阅读(213) 评论(0) 推荐(0) 编辑
摘要: /// 常用工具类——Excel操作类 /// ------------------------------------------------ /// CreateConnection:根据Excel文件路径和EXCEL驱动版本生成OleConnection对象实例 /// ExecuteDataSet:执行一条SQL语句,返回一个DataSet对象 ... 阅读全文
posted @ 2016-05-17 16:23 程序员徐坤 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace Utils { /// /// /// 常用工具类——应用程序属性信息访问类 /// -------------------------------... 阅读全文
posted @ 2016-05-17 16:22 程序员徐坤 阅读(255) 评论(0) 推荐(0) 编辑
摘要: //C#调用C++的DLL搜集整理的所有数据类型转换方式,可能会有重复或者多种方案,自己多测试 //c++:HANDLE(void *) ---- c#:System.IntPtr //c++:Byte(unsigned char) ---- c#:System.Byte //c++:SHORT(short) ---- c#:System.Int16 //... 阅读全文
posted @ 2016-05-12 15:16 程序员徐坤 阅读(320) 评论(0) 推荐(0) 编辑
摘要: /// AES加密 /// /// 输入的数据 /// 向量128位 /// 加密密钥 /// public static byte[] AESEncrypt(byte[] inputdata, byte[] iv, string strKey) { /... 阅读全文
posted @ 2016-05-12 15:15 程序员徐坤 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace List泛型集合 { class Program { static void Main(string[] args) { //ArrayList的好处是长... 阅读全文
posted @ 2016-04-15 13:09 程序员徐坤 阅读(5548) 评论(0) 推荐(0) 编辑
摘要: 首先简单介绍一下timer,这里所说的timer是指的System.Timers.timer,顾名思义,就是可以在指定的间隔是引发事件。官方介绍在这里,摘抄如下: 1 2 Timer 组件是基于服务器的计时器,它使您能够指定在应用程序中引发 Elapsed 事件的周期性间隔。然后可通过处理这个事件来 阅读全文
posted @ 2016-04-13 09:48 程序员徐坤 阅读(4447) 评论(0) 推荐(2) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页