.NET FISHER

专注.NET, Sharepoint, MCMS, WinFX, Ajax....

导航

2006年3月8日

摘要: 有许多种办法可以判断一个字符串是否为空,如 s == ""; s.Length == 0; s.IsNullOrEmpty(); 等等。那种最好呢?自己试一下吧 (C# 2.0).using System.Diagnostics;namespace POC{ class Pragram { static void Main(string[] args) { for (int i = 0; i &l... 阅读全文

posted @ 2006-03-08 12:15 FISHER 阅读(2849) 评论(10) 推荐(0) 编辑

2005年4月16日

摘要: 在一个Sharepoint的项目中,需要暂时禁止访问一些网站。因此我做了一webservice完成此功能.代码如下:[WebMethod]public bool SuspendSite(string virtualServerUrl, string siteRelativeUrl, bool suspend){  Microsoft.SharePoint.Administrat... 阅读全文

posted @ 2005-04-16 11:30 FISHER 阅读(1448) 评论(1) 推荐(0) 编辑

摘要: 我们在目前的项目中间使用了Sharepoint Portal作为索引引擎去crawling我们的MCMS (Microsoft Content Management) 网站上的内容。 MCMS上的内容我们用了一些Meta tag.但是我们发现Sharepoint Portal 搜索引擎在索引这些Meta Data的时候,不能够很好处理日期类型的Meta Data.例如:在某些网页上,有一些Meta... 阅读全文

posted @ 2005-04-16 01:51 FISHER 阅读(1296) 评论(0) 推荐(0) 编辑

2005年3月5日

摘要: String formatting in C# I couldn't find a quick reference to .NET string formatting using the String.Format() function, so I created this one. When I started working with the .NET framework, one t... 阅读全文

posted @ 2005-03-05 03:01 FISHER 阅读(1713) 评论(2) 推荐(0) 编辑

2004年12月15日

摘要: NTLM Authentication Scheme for HTTPIntroductionThis is an attempt at documenting the undocumented NTLM authentication scheme used by M$'s browsers, proxies, and servers (MSIE and IIS); this scheme... 阅读全文

posted @ 2004-12-15 06:10 FISHER 阅读(1246) 评论(0) 推荐(0) 编辑

2004年12月14日

摘要: http://blogs.msdn.com/bowerm/articles/211757.aspx 阅读全文

posted @ 2004-12-14 23:47 FISHER 阅读(985) 评论(1) 推荐(0) 编辑

2004年11月30日

摘要: *** Problem Description ***Customer wanted to implement ASP.NET forms authentication across his entire web app which consisted of ASP.NET *and* classic ASP content.<><><><><... 阅读全文

posted @ 2004-11-30 23:40 FISHER 阅读(859) 评论(1) 推荐(0) 编辑

摘要: A useful actical for web part development basichttp://www.devx.com/dotnet/Article/17518/0/page/1 sharepoint securityhttp://www.15seconds.com/issue/040511.htm object model security In a comment to my p... 阅读全文

posted @ 2004-11-30 01:45 FISHER 阅读(867) 评论(1) 推荐(0) 编辑

摘要: Running an application command line with different credentialsrunas /user:Administrator program.exe Enabling ASP.NET to run as another user on Windows XP ProfessionalAs an Administrator, edit the attr... 阅读全文

posted @ 2004-11-30 00:57 FISHER 阅读(622) 评论(0) 推荐(0) 编辑

2004年11月26日

摘要: Sharepoint是一种非常新而且很有用的技术. 现在微软把基本的功能集成到了Windows 2003 Server里, 那就是Windows Sharepoint Service简称WSS. 他使开发个性化的复杂的应用程序变得非常简单. 在我的经验里, Sharepoint的开发主要分为三部分: 定制(customization), Web Part, 配置和集成. (这里不包括Sharepo... 阅读全文

posted @ 2004-11-26 14:03 FISHER 阅读(1999) 评论(1) 推荐(0) 编辑