Angelo Lee's Blog
This is my kingdom .If i don't fight for it ,who will ?
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 55 下一页
摘要: Reflector是.NET开发中必备的反编译工具。即使没有用在反编译领域,也常常用它来检查程序集的命名规范,命名空间是否合理,组织类型的方法是否需要改善。举例说明,它有一个可以查看程序集完整名称的功能,请看下图这里的Name,是标识一个程序集的完整标识,当GAC中存在程序集的多个版本时,这个名称是唯一的识别名称。但是,Reflector很早就转向收费软件了,需要购买许可才可以使用。对于耻于用盗版的朋友,通常会放弃。有朋友说,Reflector并没有增加更霸道的功能,却转向收费,令人费解。再看看市场上的.NET反编译软件,被Reflector击溃。一提到Reflector,说到.NET反编译, 阅读全文
posted @ 2011-10-21 19:50 Angelo Lee 阅读(191) 评论(0) 推荐(0) 编辑
摘要: HOW TO: 查找问题的异常堆栈时出现的 UnhandledExceptionFilter 调用堆栈跟踪中概要使用 Windbg.exe 打开转储文件使用 Windbg.exe 确定异常堆栈参考没有异常处理程序定义处理引发的异常时,将调用该 UnhandledExceptionFilter 函数。 通常,该函数会将异常传递给在 Ntdll.dll 为文...没有异常处理程序定义处理引发的异常时,将调用该 UnhandledExceptionFilter 函数。 通常,该函数会将异常传递给在 Ntdll.dll 为文件其中捕获,并尝试处理设置。在进程的内存快照所在某些情况下,可以看到锁定点保存 阅读全文
posted @ 2011-10-21 17:24 Angelo Lee 阅读(540) 评论(0) 推荐(0) 编辑
摘要: TimeZone Convert://要计算的区时=已知区时-(已知区时的时区-要计算区时的时区),(注:东时区为正,西时区为负)//当算出的区时为负数时,应加上24:00,日期减一天//当算出的区时大于或等于24:00时,应减去24:00,日期加一天 如果是在DateTimePicker中计算那么只要DateTimePicker.Value.AddHours(-((curZoneHour + curZoneMin / 60) - (targetZoneHour + targetZoneMin / 60))); 但是前提是当前时区和目标时区的夏令时状态相同,即两者都同时使用夏令时或者都不在使. 阅读全文
posted @ 2011-10-19 15:04 Angelo Lee 阅读(256) 评论(0) 推荐(0) 编辑
摘要: WithLog Shipping:Data Transfer: T-Logs are backed up and transferred to secondary serverTransactional Consistency: All committed and un-committed are transferredServer Limitation: Can be applied to multiple stand-by serversFailover:Manual Failover Duration:Can take more than 30 minsRole Change:Role 阅读全文
posted @ 2011-10-09 15:06 Angelo Lee 阅读(144) 评论(0) 推荐(0) 编辑
摘要: ProblemI have a need to setup SQL Server Database Mirroring in my environment. I understand it can be complicated to setup. Can you provide an example on setting up SQL ServerDatabase Mirroring? Check out this tip for a basic look at how to setup this SQL Server feature.SolutionIn this tip I am goin 阅读全文
posted @ 2011-10-09 14:23 Angelo Lee 阅读(344) 评论(0) 推荐(0) 编辑
摘要: Here are some notes on “SQL Server 2008 Database Mirroring” I took while attending an advanced class on SQL Server taught by Greg Low (fromhttp://sqlblog.com/blogs/greg_low/ andhttp://www.sqldownunder.com/).Please note that, although these notes were taken during the class, I might have added some o 阅读全文
posted @ 2011-10-08 15:44 Angelo Lee 阅读(363) 评论(0) 推荐(0) 编辑
摘要: You want to get information about the TimeZone that the current computeris in. Time zones on the planet Earth change on lines on longitude, and you cannotassume the current computer is in any particular time zone reliably. Fortunately,as we demonstrate in this example set, the TimeZone type provides 阅读全文
posted @ 2011-10-08 15:37 Angelo Lee 阅读(447) 评论(0) 推荐(0) 编辑
摘要: What is Database Mirroring?Database mirroring is the feature in SQL Server 2005 and SQL Server2008 that provides a high availability solution for Databases. This feature canbe enabled and used only on a database with Full recovery models. The databasecan be mirrored from one SQL Server instance to a 阅读全文
posted @ 2011-09-29 13:30 Angelo Lee 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 整个地球分为二十四时区,每个时区都有自己的本地时间。在国际无线电通信场合,为了统一起见,使用一个统一的时间,称为通用协调时(UTC, Universal Time Coordinated)。UTC与格林尼治平均时(GMT, Greenwich Mean Time)一样,都与英国伦敦的本地时相同。在本文中,UTC与GMT含义完全相同。北京时区是东八区,领先UTC八个小时,在电子邮件信头的Date域记为+0800。如果在电子邮件的信头中有这么一行: Date: Fri, 08 Nov 2002 09:42:22 +0800 说明信件的发送地的地方时间是二○○二年十一月八号,星期五,早上九点四十二分 阅读全文
posted @ 2011-09-26 14:13 Angelo Lee 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 针对一些类库项目或用户控件项目(一般来说,这类项目最后编译生成的是一个或多个dll文件),在程序开发完成后,有时需要将开发的程序集(dll文件)安装部署到GAC(全局程序集缓存)中,以便其他的程序也可以调用。 一般来说,将程序集(dll)安装到GAC中有以下几种方法:1. 管理工具->Microsoft.NETFramework2.0配置->管理->我的电脑->程序集缓存->选中右键"添加"->将程序集添加到程序集缓存。2. 手动将要安装部署的dll文件拖至系统目录windows下的assembly文件夹下(一般为C:/windows/a 阅读全文
posted @ 2011-09-23 08:43 Angelo Lee 阅读(215) 评论(0) 推荐(1) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 55 下一页