随笔分类 -  .Net Remoting

摘要:1.数组中使用linqpublic List<A_FlowPointModel> PointList;var result = PointList.Where(p => p.ParentPointIdList.Contains(parentPointId.ToString()) == true); foreach (var point in result) {}2、xml 中使用linqusing System.Xml.Linq; string xmlPath = Server.MapPath("~/ERPA/Flow/FlowXml/") + flowI 阅读全文
posted @ 2011-05-24 17:15 张倩 阅读(362) 评论(0) 推荐(0)
摘要:一、  在Remoting中是通过通道(channel)来实现两个应用程序域之间对象的通信的,首先,客户端通过Remoting,访问通道以获得服务端对象,再通过代理解析为客户端对象,但必须注意的是,客户端在获取服务器端对象时,并不是获得实际的服务端对象,而是获得它的引用  Remoting的两种通道:TCPChannel (System.Runtime.Remoting.Channel.Tcp)T... 阅读全文
posted @ 2010-05-04 11:51 张倩 阅读(431) 评论(0) 推荐(0)