上一页 1 ··· 5 6 7 8 9

2016年11月4日

Windows服务安装命令:

摘要: sc create YY.SmsPlatform.RemoteDataCenter binPath= "E:\YY.SmsPlatform\YY.SmsPlatform.RemoteDataCenter\YY.SmsPlatform.RemoteDataCenter.exe" 手工设置Windows 阅读全文

posted @ 2016-11-04 13:57 跨界农民工 阅读(908) 评论(0) 推荐(0)

2016年10月14日

.NET实现高效过滤敏感查找树算法(分词算法):

摘要: *注意事项:如果词库中有如:“我们”,“我们的”这样的重复词语,在查找内容中有“我们的”这样的语句则会重复出现“我们”,“我们的”(使用FindAll()方法) 阅读全文

posted @ 2016-10-14 11:04 跨界农民工 阅读(267) 评论(0) 推荐(0)

2016年9月29日

.NET Remoting获取配置通道:

摘要: 接上文: public static string ChannelManagerUrl { get { return App.GetSetting(Consts.SETTING_CHANNELMANAGER_URL); } } /// <summary> /// 获取指定的配置项, /// 取值顺序 阅读全文

posted @ 2016-09-29 11:49 跨界农民工 阅读(258) 评论(0) 推荐(0)

Remoting创建远程对象的一个实例:

摘要: private static Lazy<IChannelManager> channelManager=new Lazy<IChannelManager>(() => { if (ChannelManagerUrl == null) throw new InvalidOperationExcepti 阅读全文

posted @ 2016-09-29 11:44 跨界农民工 阅读(380) 评论(0) 推荐(0)

2016年9月23日

.NET Remoting原理及应用实例:

摘要: Remoting:(本文摘自百度百科) 简介: 什么是Remoting,简而言之,我们可以将其看作是一种分布式处理方 式。从微软的产品角度来看,可以说Remoting就是DCOM的一种升级,它改善了很多功能,并极好的融合到.Net平台下。Microsoft .NET Remoting 提供了一种允许 阅读全文

posted @ 2016-09-23 16:11 跨界农民工 阅读(6899) 评论(0) 推荐(1)

2016年9月22日

.net批量插入SqlServer数据库的方法:

摘要: using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;using System.Diagnostics;using 阅读全文

posted @ 2016-09-22 09:27 跨界农民工 阅读(449) 评论(0) 推荐(0)

2016年9月20日

单例模式的创建:

摘要: public class Myclass { private Myclass() { } public static Myclass Instance { get { if (_instance==null||_instance.IsDisposed)//窗体应用程序才有IsDisposed { _ 阅读全文

posted @ 2016-09-20 16:10 跨界农民工 阅读(163) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9

导航