使用 PowerShell 設定伺服器的 應用程式集區 預設值

  ForEach ($sComputer in $global:aComputers) { # Sets Application Pool Configuration Write-Host “Setting Application Pool Configuration $sComputer…”; Start-Timer Write-Host ”  1. 啟動模式 由 OnDemand => AlwaysRunning.” set-webconfigurationproperty /system.applicationHost/applicationPools/applicationPoolDefaults  -name startMode -value 1 Write-Host ”  2. 佇列長度改為5000.” set-webconfigurationproperty /system.applicationHost/applicationPools/applicationPoolDefaults  -name queueLength -value 5000 Write-Host ”  3. 停用 Idle Time 設定 (20 分鐘) => 改為 0″ set-webconfigurationproperty…

0

使用 PowerShell 安裝 IIS

三個步驟: 以管理員身份開啟 PowerShell import-module servermanager add-windowsfeature Web-Server, Web-WebServer, Web-Security,Web-Filtering,Web-Windows-Auth,Web-Basic-Auth,Web-Common-Http,Web-Http-Errors,Web-Static-Content,Web-Default-Doc,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-WebSockets,Web-AppInit,Web-Mgmt-Tools,Web-Mgmt-Console   上述的模組說明請參考: Modules in IIS 8.5 https://docs.microsoft.com/en-us/iis/install/installing-iis-85/installing-iis-85-on-windows-server-2012-r2#modules-in-iis-85  

0

如何移轉 IIS 上大量的應用程式集區及網站到另一台機器

Application Pool 匯出所有 App Pool指令: %windir%\system32\inetsrv\appcmd.exe list apppool /config /xml > D:\temp\apppools.xml 匯入所有App Pool指令: %windir%\system32\inetsrv\appcmd.exe add apppool /in < D:\temp\apppools.xml Web Site 匯出所有 Web Site指令: %windir%\system32\inetsrv\appcmd.exe list site /config /xml > D:\temp\sites.xml 匯入所有 Web Site指令: %windir%\system32\inetsrv\appcmd.exe add site /in < D:\temp\sites.xml Enjoy. Jacky

0

ASP.NET Hosting Deployment Guide

This white paper provides an overview of the features and benefits of Microsoft® ASP.NET 3.5. Hosters who offer ASP.NET hosting will be able to use the setup and configuration recommendations to integrate ASP.NET into their hosting solution. This whitepaper also includes information that enables hosters who have not yet implemented ASP.NET to evaluate requirements for…

1

UrlScan v3.0 Helps Filter SQL Injection Attacks.

UrlScan 在 3.0 的版本中,特別加強了對 SQL Injection 的防護。8/20 已公佈 RTW 的版本,下載位置: Microsoft Urlscan Filter v3.0(x86) Microsoft Urlscan Filter v3.0 (x64)   一些相關的資訊如下: Microsoft Tool Helps Filter SQL Injection Attacks UrlScan v3.0 Beta Release   筆者之前已收集有關 SQL Injection 的資訊: The Microsoft Source Code Analyzer for SQL Injection tool SQL Injection 相關資訊    Enjoy.

2

IIS 7 的效能真的比較好嗎?

這是許多朋友會問的問題,在 Technet Magazine 中有相關的說明: Top 10 Performance Improvements in IIS 7.0 http://technet.microsoft.com/en-us/magazine/cc745952.aspx Enjoy.

1

The Microsoft Source Code Analyzer for SQL Injection tool

防護 SQL 插入式攻擊弱點的新安全性工具 Microsoft Source Code Analyzer for SQL Injection 工具是一種靜態程式碼分析工具,可幫助您尋找動態伺服器網頁 (ASP) 程式碼中的 SQL 插入式攻擊弱點。 Enjoy.

3

Writing Silverlight applications in PHP

Silverlight 除了可以在跨平台上執行外,也可以與 PHP 整合,請參考: http://php-compiler.net/doku.php?id=php-in-silverlight

1