Ajax application scenarios
Richer UI
Page partial refresh
Impact on Performance
Impact on Exception Handling
IIS 7 compatibility mode
Extended IIS 7 Architecture
Add the xml configuration file
% SystemDir % \ instsrv \ config \ Schema
Read using Microsoft. Web. Administration
<Configschema>
<Sectionschema name = "system. webserver/imagecopyright">
<Attribute name = "enabled" type = "bool" defaultvalue = "false"/>
<Attribute name = "message" type = "string" defaultvalue = "Copyright message"/>
<Attribute name = "color" type = "string" defaultvalue = "red"/>
<Attribute name = "cacheduration" type = "int" defaultvalue = "20"/>
</Sectionschema>
</Configschema>
IIS 7 Programming
Microsoft. Web. Administration
Servermanager iismanager = new servermanager ();
Foreach (workerprocess w3wp in iismanager. workerprocesses)
{
Console. writeline ("w3wp {0}", w3wp. processid );
Foreach (request in w3wp. getrequests (0 ))
{
Console. writeline ("{0}-{1}, {2}, {3}", request. url, request. clientipaddr, request. timeelapsed, request. timeinstate );
}
}