博客园 - eFeng.Leunguuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=591662007-03-26T08:24:59ZeFeng.Leunghttps://www.cnblogs.com/efeng/feed.cnblogs.comhttps://www.cnblogs.com/efeng/archive/2007/03/26/688656.html枚举Exchange Server、SotreGroups和MailStore - eFeng.Leung转自 http://blog.joycode.com/liuhuimiao/archive/2007/03/04/94132.aspx
通过以下代码枚举列出所有的Exchange Server、StoreGroups和MailStore,并获取每个MailStore中Mailbox的数量。本段C#代码为http://www.ureader.com/message/513012.aspx一文中的VBNET代码改写而成,在Exchange 2003环境中测试通过。2007-03-26T08:25:00Z2007-03-26T08:25:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】转自 http://blog.joycode.com/liuhuimiao/archive/2007/03/04/94132.aspx
通过以下代码枚举列出所有的Exchange Server、StoreGroups和MailStore,并获取每个MailStore中Mailbox的数量。本段C#代码为http://www.ureader.com/message/513012.aspx一文中的VBNET代码改写而成,在Exchange 2003环境中测试通过。 <a href="https://www.cnblogs.com/efeng/archive/2007/03/26/688656.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/12/04/581387.htmlSingle Sign-On for everyone - eFeng.LeungSingle Sign-On (SSO) is a hot topic these days. Most clients I worked with have more than one web application running under different versions of .NET framework in different subdomains, or even in different domains and they want to let the user login once and stay logged in when switching to a different web site. Today we will implement SSO and see if we can make it work in different scenarios. We will start with a simple case and gradually build upon it:
SSO for parent and child applic2006-12-04T05:06:00Z2006-12-04T05:06:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】Single Sign-On (SSO) is a hot topic these days. Most clients I worked with have more than one web application running under different versions of .NET framework in different subdomains, or even in different domains and they want to let the user login once and stay logged in when switching to a different web site. Today we will implement SSO and see if we can make it work in different scenarios. We will start with a simple case and gradually build upon it:
SSO for parent and child applic <a href="https://www.cnblogs.com/efeng/archive/2006/12/04/581387.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/08/26/487296.html关于AD编程的一些资料 zz - eFeng.Leung.NET Framework Class Library: System.DirectoryServices Namespace http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp How to poll for changes to the Active Directory by ...2006-08-26T15:24:00Z2006-08-26T15:24:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】.NET Framework Class Library: System.DirectoryServices Namespace http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp How to poll for changes to the Active Directory by ... <a href="https://www.cnblogs.com/efeng/archive/2006/08/26/487296.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/05/17/402492.html不同的asp.net web应用程序间共享Session/Application - eFeng.Leung整合不同的ASP.NET Web 应用程序1、打开IIS,删除各个模块项目的由VS.NET建立的虚拟目录2、新建一个ASP.NET Web 应用程序,比如(MasterWeb)3、把各个模块拷到MasterWeb目录下4、打开各个模块的"<ModuleProjectName>.csproj.webinfo" 文件 5、修改.csproj.webinfo 里的URL路径为:<Web...2006-05-17T07:09:00Z2006-05-17T07:09:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】整合不同的ASP.NET Web 应用程序1、打开IIS,删除各个模块项目的由VS.NET建立的虚拟目录2、新建一个ASP.NET Web 应用程序,比如(MasterWeb)3、把各个模块拷到MasterWeb目录下4、打开各个模块的"<ModuleProjectName>.csproj.webinfo" 文件 5、修改.csproj.webinfo 里的URL路径为:<Web... <a href="https://www.cnblogs.com/efeng/archive/2006/05/17/402492.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/05/15/400683.htmlCode Project中几篇关于DNN的文章 - eFeng.LeungDotNetNuke Module PackagerAutomated Module Creation Tool for DotNetNukeCreating a DotNetNuke® Module - For Absolute Beginners!DotNetNuke URL Rewriting HTTP Module2006-05-15T09:19:00Z2006-05-15T09:19:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】DotNetNuke Module PackagerAutomated Module Creation Tool for DotNetNukeCreating a DotNetNuke® Module - For Absolute Beginners!DotNetNuke URL Rewriting HTTP Module <a href="https://www.cnblogs.com/efeng/archive/2006/05/15/400683.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/04/07/369350.htmlAuthenticate a user against the Active Directory using the user ID and password - eFeng.LeungAuthenticate a user against the Active Directory using the user ID and password By Anand ThakurApril 05, 2006 This article serves as a guide to using System.DirectoryServices (SDS) ADSI to access user...2006-04-07T07:03:00Z2006-04-07T07:03:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】Authenticate a user against the Active Directory using the user ID and password By Anand ThakurApril 05, 2006 This article serves as a guide to using System.DirectoryServices (SDS) ADSI to access user... <a href="https://www.cnblogs.com/efeng/archive/2006/04/07/369350.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/04/05/367309.htmlUser Object User Interface Mapping - eFeng.Leunghttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/user_object_user_interface_mapping.aspActive Directory 的属性,对AD做操作是一定要知道的。User Object User Interface MappingThe following tables i...2006-04-05T03:26:00Z2006-04-05T03:26:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/user_object_user_interface_mapping.aspActive Directory 的属性,对AD做操作是一定要知道的。User Object User Interface MappingThe following tables i... <a href="https://www.cnblogs.com/efeng/archive/2006/04/05/367309.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/04/04/366685.htmlLists all entries in the Active Directory - eFeng.LeungActive Directory Sample I By John O DonnellAugust 23, 2001 This sample shows how to access Active Directory information in a Windows 2000 domain.My test network consists of a Windows 2000 domain contr...2006-04-04T08:24:00Z2006-04-04T08:24:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】Active Directory Sample I By John O DonnellAugust 23, 2001 This sample shows how to access Active Directory information in a Windows 2000 domain.My test network consists of a Windows 2000 domain contr... <a href="https://www.cnblogs.com/efeng/archive/2006/04/04/366685.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/04/04/366680.htmlUsing Active Directory - eFeng.LeungUsing Active Directory By Vivek SharmaJuly 31, 2002 This sample code can sense current context in Active Directory, checks for the existence of attributes, provides a list of all the attributes in Act...2006-04-04T08:23:00Z2006-04-04T08:23:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】Using Active Directory By Vivek SharmaJuly 31, 2002 This sample code can sense current context in Active Directory, checks for the existence of attributes, provides a list of all the attributes in Act... <a href="https://www.cnblogs.com/efeng/archive/2006/04/04/366680.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/03/17/352299.htmlActive Directory and .NET - eFeng.LeungActive Directory and .NET By Erika EhrliJune 22, 2005 Microsoft Technet offers a script repository to work with AD User Accounts; however, I needed to work with .NET and I could not find samples for a...2006-03-17T09:39:00Z2006-03-17T09:39:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】Active Directory and .NET By Erika EhrliJune 22, 2005 Microsoft Technet offers a script repository to work with AD User Accounts; however, I needed to work with .NET and I could not find samples for a... <a href="https://www.cnblogs.com/efeng/archive/2006/03/17/352299.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/03/17/352147.htmlLDAP, IIS and WinNT Directory Services - eFeng.LeungLDAP, IIS and WinNT Directory ServicesBy Klaus Salchner Introduction Directory Services have gained a lot of traction over the last few years. Directories are repositories of information and can be ...2006-03-17T06:09:00Z2006-03-17T06:09:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】LDAP, IIS and WinNT Directory ServicesBy Klaus Salchner Introduction Directory Services have gained a lot of traction over the last few years. Directories are repositories of information and can be ... <a href="https://www.cnblogs.com/efeng/archive/2006/03/17/352147.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/03/15/350631.html无法破解的软件注册码算法 - eFeng.Leung无法破解的软件注册码算法实现原代码,包括一个Asp.Net页面文件和对应的CS代码文件 - 3 Kb Microsoft .Net的应用程序的代码文件,与Java生成的文件类似,它们都没有本地代码,而是一种类似于汇编的代码。这样,只要有合适的工具,就可以完整的把别人写出来的程序反编译成自己需要的程序文件。 我所知道的.Net下的反汇编程序是Salamander 和 Refelector 两个工具...2006-03-15T06:29:00Z2006-03-15T06:29:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】无法破解的软件注册码算法实现原代码,包括一个Asp.Net页面文件和对应的CS代码文件 - 3 Kb Microsoft .Net的应用程序的代码文件,与Java生成的文件类似,它们都没有本地代码,而是一种类似于汇编的代码。这样,只要有合适的工具,就可以完整的把别人写出来的程序反编译成自己需要的程序文件。 我所知道的.Net下的反汇编程序是Salamander 和 Refelector 两个工具... <a href="https://www.cnblogs.com/efeng/archive/2006/03/15/350631.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/03/15/350460.htmlSQL2K集群 绑定在 TCP 端口 1433 上失败 - eFeng.Leung用IP+port不能连接到数据库。查看日志:server SuperSocket Info:Bind failed on TCP port 1433NETSTAT -AN 也没有看到侦听1433端口。 CAUSEChanging the Virtual SQL Server IP address with the Cluster Administrator tool. For a default ...2006-03-15T03:50:00Z2006-03-15T03:50:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】用IP+port不能连接到数据库。查看日志:server SuperSocket Info:Bind failed on TCP port 1433NETSTAT -AN 也没有看到侦听1433端口。 CAUSEChanging the Virtual SQL Server IP address with the Cluster Administrator tool. For a default ... <a href="https://www.cnblogs.com/efeng/archive/2006/03/15/350460.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/03/11/347718.html使用HTTP访问2003表单登录页 (转) - eFeng.LeungExchange MVP Blog前言 我们都用过OWA2003,它的界面比起OWA2000好看了很多,功能也增强了不少,尤其是OWA2003提供了前所未有的表单登录方式(简称FBA),但遗憾的是,为了保证FBA上输入的用户和密码的安全,系统默认只允许在SSL上使用FBA,也就是说,你要使用FBA就一定要配置SSL证书,而证书配置是大家容易出现问题的地方,尤其是证书的客户端信任问题,是所有配置证书...2006-03-11T01:54:00Z2006-03-11T01:54:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】Exchange MVP Blog前言 我们都用过OWA2003,它的界面比起OWA2000好看了很多,功能也增强了不少,尤其是OWA2003提供了前所未有的表单登录方式(简称FBA),但遗憾的是,为了保证FBA上输入的用户和密码的安全,系统默认只允许在SSL上使用FBA,也就是说,你要使用FBA就一定要配置SSL证书,而证书配置是大家容易出现问题的地方,尤其是证书的客户端信任问题,是所有配置证书... <a href="https://www.cnblogs.com/efeng/archive/2006/03/11/347718.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/02/27/338944.htmlFYI: Getting Started with WebDAV - eFeng.LeungFYI: Getting Started with WebDAV WebDAV is a protocol, not an API. It is an extension of HTTP and provides more request methods to allow us to get information out of Exchange and change information w...2006-02-27T09:11:00Z2006-02-27T09:11:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】FYI: Getting Started with WebDAV WebDAV is a protocol, not an API. It is an extension of HTTP and provides more request methods to allow us to get information out of Exchange and change information w... <a href="https://www.cnblogs.com/efeng/archive/2006/02/27/338944.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/02/24/337056.html遭遇 对路径“C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\aa\……”的访问被拒绝 - eFeng.Leung想当然的认为是对aa文件夹的权限不够。查了一下cnblogs找到这个文章后,按其方法解决了问题: 一点不奇怪。请将此目录C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files设置成everyone可以完全控制即可。 这是asp.net进程预编译文件时因为缓存目录不可写导致的,和sps本身无关。您将asp.net的启动...2006-02-24T08:39:00Z2006-02-24T08:39:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】想当然的认为是对aa文件夹的权限不够。查了一下cnblogs找到这个文章后,按其方法解决了问题: 一点不奇怪。请将此目录C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files设置成everyone可以完全控制即可。 这是asp.net进程预编译文件时因为缓存目录不可写导致的,和sps本身无关。您将asp.net的启动... <a href="https://www.cnblogs.com/efeng/archive/2006/02/24/337056.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/02/21/334809.html网络负载平衡部署 - eFeng.Leung基本上是根据这篇 负载均衡部署心得 ,而DNS是使用的在system32 \drivers \etc 里的hosts里添加的方法。正如文上所说的 知其然,并不知其所以然 。 部署是部署好了,可是现在一些相关的设置还是按默认的。在看 网络负载平衡常见问题 ,(Clustering 服务 里有不少Cluster的内容)。2006-02-21T06:36:00Z2006-02-21T06:36:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】基本上是根据这篇 负载均衡部署心得 ,而DNS是使用的在system32 \drivers \etc 里的hosts里添加的方法。正如文上所说的 知其然,并不知其所以然 。 部署是部署好了,可是现在一些相关的设置还是按默认的。在看 网络负载平衡常见问题 ,(Clustering 服务 里有不少Cluster的内容)。 <a href="https://www.cnblogs.com/efeng/archive/2006/02/21/334809.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/01/26/323609.htmlGroup Panel - eFeng.LeungGroup Panel应该是挺好的东西 ~_~2006-01-26T08:34:00Z2006-01-26T08:34:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】Group Panel应该是挺好的东西 ~_~ <a href="https://www.cnblogs.com/efeng/archive/2006/01/26/323609.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/01/26/323606.html在DataGrid里显示Excel文件数据 - eFeng.Leungusing System.Data.OleDb;private void Page_Load(object sender, System.EventArgs e) { // 在此处放置用户代码以初始化页面 if(!IsPostBack) { SetBind() ; ...2006-01-26T08:26:00Z2006-01-26T08:26:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】using System.Data.OleDb;private void Page_Load(object sender, System.EventArgs e) { // 在此处放置用户代码以初始化页面 if(!IsPostBack) { SetBind() ; ... <a href="https://www.cnblogs.com/efeng/archive/2006/01/26/323606.html" target="_blank">阅读全文</a>https://www.cnblogs.com/efeng/archive/2006/01/26/323596.html鼠标移动,改变datagrid里行的色 - eFeng.Leungprivate void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if(e.Item.ItemType == ListItemType.Item | e.Item.ItemType == ListItemType.AlternatingItem )...2006-01-26T07:58:00Z2006-01-26T07:58:00ZeFeng.Leunghttps://www.cnblogs.com/efeng/【摘要】private void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if(e.Item.ItemType == ListItemType.Item | e.Item.ItemType == ListItemType.AlternatingItem )... <a href="https://www.cnblogs.com/efeng/archive/2006/01/26/323596.html" target="_blank">阅读全文</a>