Angelo Lee's Blog
This is my kingdom .If i don't fight for it ,who will ?
摘要: We need to know which w3wp process is running now When we debug my website in the Visual Studio. As we know, we can use this cmd(%windir%/system32/inetsrv/appcmd list wp) to show the result in the windows2008. But, How to view the W3WP process by c#?I give the method to you, please look this code: s 阅读全文
posted @ 2011-11-17 23:32 Angelo Lee 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 一、C#中利用process类调用外部程序以及执行dos命令c#中的Process类可方便的调用外部程序,所以可以通过调用cmd.exe程序加入参数 "/c " + 要执行的命令来执行一个dos命令(/c代表执行参数指定的命令后关闭cmd.exe /k参数则不关闭cmd.exe)class ExampleOfLegalsoft { private string RunCmd(string command) { //實例一個Process類,啟動一個獨立進程 Process p = new Process(); //Process類有一個StartInfo屬性,這... 阅读全文
posted @ 2011-11-17 23:14 Angelo Lee 阅读(440) 评论(0) 推荐(0) 编辑
摘要: IntroductionThe steps for configuring Secure Sockets Layer (SSL) for a site are the same in IIS 7 and IIS 6.0, and include the following:Get an appropriate certificate. Create an HTTPS binding on a site. Test by making a request to the site. Optionally configure SSL options, that is, by making SSL a 阅读全文
posted @ 2011-11-17 22:44 Angelo Lee 阅读(306) 评论(0) 推荐(0) 编辑
摘要: Link:How to use IIS Appcmd Tool虽然有配置界面管理器!但是做安装包的时候命令创建是必不可少的!最近使用NSIS制作安装包仔细研究了一下Appcmd的命令,可谓是功能齐全.但微软的技术资源库不详细:附地址:http://technet.microsoft.com/zh-cn/library/cc772200(WS.10).aspx(介绍我们能用到的一些命令,目前只包含site 的操作,其他apppool config app vdir 后续有时间在加入)一:准备工作APPcmd.exe 位于 C:\Windows\System32\inetsrv 目录使用 Cd c 阅读全文
posted @ 2011-11-17 13:38 Angelo Lee 阅读(401) 评论(0) 推荐(0) 编辑