Outstanding's Blog

outstanding

01 2005 档案

.NET 的安全性配置
摘要:请看下面的Web.config文件片断: 在Windows 2003 Server 中,相应的页面谁可以访问? 一般的回答是属于Role"SomeRole"的User都可以访问。 但结果出乎我们的意料。在我的实际项目中,结果是谁都不能访问。改变一下web.config,改成如下的样式: ... 阅读全文

posted @ 2005-01-24 13:33 Outstanding 阅读(410) 评论(0) 推荐(0)

类似Delphi中的Strings类型
摘要:熟悉Delphi的人应该对Strings不陌生: usingSystem; usingSystem.Collections; usingSystem.IO; namespaceTextFileOP { /**//**//**//// ///Strings的摘要说明。 /// publicclassStrings... 阅读全文

posted @ 2005-01-24 13:23 Outstanding 阅读(837) 评论(1) 推荐(0)

限制应用程序只有一个实例在运行
摘要:我们有时需要防止一个应用程序运行多个程序,我这里提供一个示例,供大家参考: 下载示例 阅读全文

posted @ 2005-01-24 13:14 Outstanding 阅读(353) 评论(0) 推荐(0)

导航