C#交流俱乐部

学习为主,互相帮助

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  C#

摘要:TipokHostManager是在Windows平台下针对Windows service实现分布式管理监控的服务它的实现原理不复杂,是基于调用系统WMI服务,然后通过WCF实现远程调用管理windows 服务及控制台程序的分布式部署管理服务 该服务基于WMI实现了对系统服务,进程的监听守护,通过定制,可以基于该服务进行短信,邮件通知等功能。简尔言之,通过该服务,实现了对WINDOWS 服务实现分布式部署,升级,安装,卸载,监控的功能。先发张类图类的关系说明Program 管理服务的启动类,负责服务的启动,在main方法中,初始化HostService 的实例。当服务启动的时候,调用HostS 阅读全文
posted @ 2013-04-01 11:17 bluce chen 阅读(516) 评论(8) 推荐(0)

摘要:Signalr项目结构•Microsoft.AspNet.SignalR – meta package (use this)•Microsoft.AspNet.SignalR.Client – .NET 4 and WinRT client•Microsoft.AspNet.SignalR.JS – The Javascript client.•Microsoft.AspNet.SignalR.Core – Core server package with no host implementation•Microsoft.AspNet.SignalR.Hosting.AspNet – The 阅读全文
posted @ 2013-02-17 10:54 bluce chen 阅读(1544) 评论(0) 推荐(0)

摘要:忙里偷闲-给朋友定制迷你定制版小说阅读器,分享下,觉得有需要就去这里下载 PC定制版 http://wapidd.com/publish.htm 目的:实现一个小说阅读器,右下角显示,大小可调整,可同QQ托盘形式隐藏,双击恢复,可强制桌面显示顶端,透明度自定义及导航窗隐藏 效果图: 根据以上需求,写 阅读全文
posted @ 2012-05-24 19:27 bluce chen 阅读(467) 评论(1) 推荐(0)

摘要:public Setting(){ string dirPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Config"); string[] filePaths = Directory.GetFiles(dirPath, "Database.*config"); if (filePaths != null || filePaths.Length > 0) { foreach (string path in filePaths) { Load(path); } }}privat 阅读全文
posted @ 2010-11-08 11:44 bluce chen 阅读(290) 评论(0) 推荐(0)

摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Linq;4usingSystem.Text;5usingSystem.Reflection;67namespaceConsoleTest8{9//接口定义10interfaceIEmploy11{12//继承该接口要实现的方法13voidSpeak(strings);14} 阅读全文
posted @ 2010-06-03 18:53 bluce chen 阅读(504) 评论(1) 推荐(0)