Web Deploy - Web Deploy Rules
Web Deploy 提供許多不同的 Rule,像是:
- AboFilter
- AnonymousUser
- ApplicationExistsRule
- AppPoolIdentity
- AppRootNormalize
- BlockHarmfulDeleteOperations
- BlockUnsupportedDeleteOperations
- ClassicAppPoolProtectRule
- CreateApplicationRule
- CrossPlatformRule
- DependencyCheckAppPoolExists
- DependencyCheckFailOnError
- DependencyCheckFailOnWarning
- DependencyCheckInUse
- DoNotDeleteRule
- EnvironmentVariableNormalize
- IgnoreFileLastWriteTime
- IISConfigFrom64To32
- MetakeyToIIS6
- Parameterization
- SchemaSection
- SkipInvalidSource
- SkipNewerFilesRule
- SkipUNC
- SyncGeneral
- SyncXP
- UrlScanSkipIncompat
- WarnForEncryptedDataRule
- XpIsapis
這些 Rule 能讓我們更改 sync operation 的行為。
這些 Rule 中以 DoNotDeleteRule 較常使用,能用來決定 sync 時是否刪除多餘的檔案。