在带有IIS8.5的windows服务器2012r2框上,我有一个普通的html站点,其中包含一个web.config。
我的配置:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
在PowerShell Desired State Configuration中,您可以定义以下功能:
Node $MachineName {
# define the IIS Role
WindowsFeature IIS {
Name = “Web-Server”
}
# define the SQL Role
WindowsFeature SQL {
Name = “SQL-Server”
}
# require ASP.NET 4.5
WindowsFeature ASP
我们必须监视IIS8.5在2012年R2上的变化
The FileSystemWatcher Windows service I wrote works on anything except System32 subdirectories,
despite System having permissions on the inetsrv\config folder (cannot get Read permission on anything higher), and
The OOTB IIS-Configuration event log won't report manual