04 2015 档案

摘要:首先,我们必须创建一个wcf服务。并部署到IIS中。这里我已经将一个StudentService服务部署到我自己的电脑了。(1)svcutil.exesvcutil.exe工具的作用是通过服务地址生成代理类和配置文件。1.开始---》Microsoft Visual Studio 2010--->V... 阅读全文
posted @ 2015-04-29 09:30 awp110 阅读(1022) 评论(0) 推荐(0)
摘要:AutoMapper是对象到对象的映射工具。在完成映射规则之后,AutoMapper可以将源对象转换为目标对象。作者:齐飞原文:http://www.qeefee.com/article/automapper配置AutoMapper映射规则AutoMapper是基于约定的,因此在实用映射之前,我们需... 阅读全文
posted @ 2015-04-27 09:05 awp110 阅读(166) 评论(0) 推荐(0)
摘要:list,set,map,数组间的相互转换1.list转setSet set = new HashSet(new ArrayList()); 2.set转listList list = new ArrayList(new HashSet());3.数组转为listList stooges = Arr... 阅读全文
posted @ 2015-04-24 16:08 awp110 阅读(244) 评论(0) 推荐(0)
摘要:『AngularJS』一点小小的理解AngularJS 是一个前端的以Javascript为主的MVC框架。与AngularJS相类似的还有EmberJS。随着时代在进步,各种各样的开发理念与开发框架不断的提出与发展,而就目前来说,除了游戏、IM(类似QQ)、Office这类软件之外,新出的软件应用... 阅读全文
posted @ 2015-04-21 16:33 awp110 阅读(172) 评论(0) 推荐(0)
摘要:记录日志是管理系统中对用户行为的一种监控与审核,asp.net中记录日志的方式有很多种,这里我只介绍一下最近用到的log4net,关于他的具体介绍网上有很多,我讲一下他的用法。第一步:在配置文件中的节添加下面一句话 第二步:在节中添加如下内容 ... 阅读全文
posted @ 2015-04-20 14:38 awp110 阅读(226) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/danielWise/archive/2011/06/23/2087937.htmlIServiceBehavior 提供一种在整个服务内修改或插入自定义扩展的机制AddBindingParameters用于向绑定元素传递自定义数据,以支持协定实现。Ap... 阅读全文
posted @ 2015-04-18 16:45 awp110 阅读(159) 评论(0) 推荐(0)
摘要:1)System.Data.OracleClient的版本号要写正确2)commandText 的参数要用冒号(Oracle数据库),并且语句结尾不要用冒号,否则会出现异常; ... 阅读全文
posted @ 2015-04-17 09:21 awp110 阅读(313) 评论(0) 推荐(0)
摘要://添加应用程序池空间引用using System.DirectoryServices;using System.Text; using System.Text.RegularExpressions; using System.Diagnostics; using System.Management... 阅读全文
posted @ 2015-04-13 10:28 awp110 阅读(1070) 评论(0) 推荐(0)
摘要:问题现象IIS应用程序池崩溃(Crash)的特征如下:1. 从客户端看,浏览器一直处于连接状态,Web服务器无响应。2. 从服务器端看(Windows Server 2008 + IIS 7.0),在事件日志中会出现Event ID为5010的错误:A process serving applica... 阅读全文
posted @ 2015-04-13 09:11 awp110 阅读(1952) 评论(1) 推荐(1)
摘要:WCF初探-10:WCF客户端调用服务wangweimutou 2015-04-08 08:00 阅读:435 评论:9WCF初探-9:WCF服务承载 (下)wangweimutou 2015-04-01 00:13 阅读:461 评论:0WCF初探-8:WCF服务承载 (上)wangweimuto... 阅读全文
posted @ 2015-04-07 21:57 awp110 阅读(139) 评论(0) 推荐(0)
摘要:Adding exception handlers with Mono.Cecil is not difficult, it just requires you to know how exception handlers are laid out in the metadata.Let say y... 阅读全文
posted @ 2015-04-02 08:33 awp110 阅读(527) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/mushroom/p/3932698.htmlhttp://www.cnblogs.com/mushroom/p/4124878.htmlhttp://www.cnblogs.com/mushroom/p/4156468.htmlhttp://www.c... 阅读全文
posted @ 2015-04-01 16:09 awp110 阅读(131) 评论(0) 推荐(0)