随笔分类 - .Net FrameWork
摘要:最近因为要开发大数据量网站,特作比较。Linq to SQL 查询 记录数:399997Linq to SQL 查询 Milliseconds:1910视图查询 记录数:399997视图查询 Milliseconds:3435Entity Framework 查询 记录数:400000Entity Framework 查询 Milliseconds:4049企业库存储过程 to DataReader 记录数:399997企业库存储过程 to DataReader Milliseconds:321企业库存储过程 to DataSet 记录数:399997企业库存储过程 to DataSet Mi
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Xml.Linq;using System.Reflection;using System.Xml;using
阅读全文
摘要:在第八章(“调用外部方法和工作流”)中,你看过工作流怎样使用CallExternalMethod活动来和宿主应用程序进行通信。当工作流调用一个外部方法时,使用一个你提供的本地通信服务,该宿主应用程序会收到一个事件,然后宿主对数据进行处理并产生一些相应的动作。相反的调用过程是宿主应用程序触发的事件被工...
阅读全文
摘要:我们已经看到过怎样执行工作流内部和外部的代码,已经知道怎样处理异常,暂停进程,在事情脱离控制时终止我们的工作流。但无疑对于任何一个计算机系统的主要组成部分来说,都应具有根据运行时的条件做出判断以执行不同的任务的能力。在本章,我们将演示要求我们应付if/else场景及基本的循环的一些工作流活动。条件及...
阅读全文
摘要:在写前面的章节时,我自己不断地思考,“我不能再等了,我要弄清楚在哪里可把(工作流中的)真实数据返回到宿主应用程序中!”为什么?做了这么多的活动和工作流的演示,但都没有实际返回某些感兴趣的东西给宿主应用程序。我不知写过多少我们感兴趣的工作流的实例和演示,但至多只是仅仅处理过数据的初始化(就像第一章-W...
阅读全文
摘要:学习完本章,你将掌握:1.理解工作流实例为什么要卸载和重新加载及其时机2.理解工作流实例为什么要持久化及其时机3.搭建SQL Server 2005,使其为WF和工作流持久化提供支持4.使用SqlWorkflowPersistenceService服务5.在你的工作流代码中进行实例的加载和卸载6...
阅读全文
摘要:学习完本章,你将掌握:1.workflow的可选服务2.创建一个事件跟踪数据库3.激活事件跟踪服务4.创建一个自定义跟踪5.查看你的workflow的跟踪信息目前为止,我们看过workflow的一些基本对象。我们通过活动创建workflow任务,它们在执行时由WorkflowInstance对象进行...
阅读全文
摘要:AgilePoint模型驱动BPM(业务流程管理) 通过实际接触和使用多家商业BPM产品(国内的所谓BPM产品暂不做推荐,因为只是OA级别的而不是BPM),并在实际项目实施中得出结论:AgilePoint是性价比最高的,适应性 广泛,而且二次开发难度曲线是最平缓的。它以SOA模型驱动为运作方式,能整合多数外部系统,如SAP、CRM、HR,帮助企业实现以业务为导向的...
阅读全文
摘要:是某类型: if (this.FindName(ControlName).GetType() == typeof(LabelIMG)) { }具有某接口: if (this.FindName(ControlName).GetType().GetInterface("IControl",true) == typeof(IControl)) { }
阅读全文
摘要:using System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using Sys...
阅读全文
摘要:using System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using Sys...
阅读全文
摘要:using System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using Sys...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace CrmWinLib.Resources { public class ReflectTool { public R execute(T executeObject...
阅读全文
摘要:主机:using System;using System.ServiceModel;namespace InheritanceDemo{ [ServiceContract] interface ISimpleCalculator { [OperationContract] int Add(int a...
阅读全文
摘要:WCF的中的Endpoint结构,一个Endpoint就类似于xml web service中的一个asmx文件,它包括三个组成部分1)Address 2) Binding 3) Contract,此三者被称为组成Endpoint的"ABC".A解决了Endpoint在哪的问题,也就是"Where ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Web.Services.Description; using System.CodeDom; using Microsoft.CSharp; using System....
阅读全文
摘要:using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.W...
阅读全文