02 2009 档案
摘要:1.安装Certificate Services: 在Add or Remove Programs –> Add/Remove Windows Components下勾选Certificate Services安装 2.给要使用SSL的website添加证书。添加证书的过程比较麻烦,这里使用IIS6的Toolkit里的SelfSSL工具来自动完成这个任务。SelfSSL的使用方法如下: C:\>s...
阅读全文
摘要:IIS7配置SSL/https view SSL binding configuration stored in HTTP.sys: netsh http show sslcert 在某一站点上启用SSL: C:\Windows\system32\inetsrv>appcmd set config "Default Web Site" -commitPath:APPHOST -section:...
阅读全文
摘要:http://community.bartdesmet.net/blogs/bart/archive/2009/02/17/windows-7-native-vhd-support.aspx
阅读全文
摘要:李家佳(李家佳) 12:18:37 select * from ( select username,SectionID,ExpertPoint, rank() over(partition by username order by ExpertPoint desc) tt from [UserSectionProfiles] where UserName in ('ghj1976','daisy...
阅读全文
摘要:C# Implementation Defining the Flags: To start of with, declare an enum to list all the possible flags. Two things are important when declaring the enum. The first thing you will probably notice is ...
阅读全文
摘要:http://weblogs.asp.net/arturtrosin/archive/2009/02/09/domain-driven-design-learning.aspx http://devlicio.us/blogs/casey/archive/2009/02/09/domain-driven-design-a-step-by-step-guide.aspx
阅读全文
摘要:原文很容易懂就不翻了 1. Initialize an array Often, you need to initialize elements of an array to either the same value, or to an increasing sequence values, or possibly to a sequence increasing or decreasing b...
阅读全文
摘要:win+R-> cmd –> 到\Inetpub\adminScripts目录-> adsutil.vbs create_vserv w3svc/i i默认为1(Default Web Site), 所以用的时候就写个>1的 然后到iis的GUI界面下去看看吧
阅读全文
摘要:1: 2: 3: 做大网站,别再折腾web.config了,原因有2: 有些东西web.config搞不定 有些东西在web.config里配置起来麻烦 折腾machine.config吧。像上面那个例子,还配这么debug=true,batchcompile=true,直接就retail=true就得了。还有那些asp.net默认的一对module…用不着的就去了吧 up...
阅读全文
摘要:1: // First create an instance of the call stack 2: StackTrace callStack = new StackTrace(); 3: 4: // Next select the frame we want... 5: // 0 : current frame for the current method 6:...
阅读全文
摘要:Customizing the File Types IIS Compresses (IIS 6.0)http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5bce429d-c4a7-4f9e-a619-5972497b932a.mspx?mfr=true Using HTTP Compression ...
阅读全文