Wednesday, July 18, 2018
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

IIS 7 Recommended Configuration  
IIS 7 has been adapted to complete the system configuration orientation which is utilized by the IIS runtime and the whole administration tools. The new configuration system is platformed on XML files particularly distributed and that contains the config properties for IIS, ASP.NET and other common components. Also, the adaptability within the config system itself permits the configuration targets to be set to properties at different level counts that also are inclusive at the server, the application and the site.

The configuration properties which targets the site and the application level both are inclusive adjacent with ASP.NET configuration web.config files. One remarkably advanced attribute of configuration system is that it is extensible. The extending of attributes, collection and others are simplified.

Extensible Configuration System

The config system is platformed under XML and configuration is existent in schema files which are housed at this path:


On the above path, the IIS_schema.xml file is the root directory of the IIS 7 schema class.

The Extensible Configuration System has the capacity to extend its configuration attributes dupled with the developers own schema. This also allows full usability for IIS 7 configuration APIs at automatic responses. The creation of new configuration sections are also permitted with the ability to extend existent sections that is backed by COM limited components.

Extended Configuration System for Supplemented Functionality

In the event that FTP 7 has been installed on the system, it is always a prerequisite that the FTP 6 should have been removed and completely uninstalled. From that point, the schema files are added as the while extending the existent configuration section and also adjunct new values. FTP runtime can utilize only one value for the plethora and may have undefined interaction reactions in which the config system is targeted on these values: [appcmd.exe, managed config api, native config API]. This then limits the need to build new values for config system and would not even require manual XML file parsing.

Adding a New Config Section

The adjunction of a new config section is targeted to be created under the system.webServer with a specific name and a specific attribute.

1. Within the directory root %windir%\system32\inetsrv\config\schema, process the creation of a file called [example.xml]
2. Add these codes to the file:

< configSchema >
< sectionSchema name="system.webServer/example" >
< attribute name="example" type="string" />
< /sectionSchema>
< /configSchema>

Subsequent to that, register a new configuration section which will target the recognition of the valid and schema that is being used.
3. Open the base IIS configuration file, %windir%\system32\inetsrv\config\applicationHost.config. 4. Search for the values section and adjunct to

just within the system.webServer sectionGroup. You should have something like:

< configSections>
< sectionGroup name="system.webServer">
< section name="usa"/>
< /sectionGroup>
< /configSections>

Testing the Extended Configuration

Run the following command at the command line:

%windir%\system32\inetsrv\appcmd list config -section:system.webServer/example

The output should result to this:

< system.webServer >
< example />
< /system.webServer >

Default Web Site test value, execute these on the command prompt:

appcmd set config "Default Web Site" -section:system.webServer/example /value:"samplevalue" Default Web Site Config Check:

%windir%\system32\inetsrv\appcmd list config "Default Web Site" -section:system.webServer/example Output should result to this:

< system.webServer>
< exmaplecallvalue="exampleoutputvalue" />
< /system.webServer>

Print IIS 7 Recommended Configuration Bookmark IIS 7 Recommended Configuration

Related Articles  
Configure IIS Handler Mappings
IIS Handlers are designed to process request made to a website hosted in IIS. The IIS Handlers provide a mechanism of ...
Configure IIS Logging with IIS Manager
The first step to take, in order to configure IIS logging, is to open up the IIS Manager and select Logging module.
IIS Administration Tools
Administration tool set has a lot more to offer in IIS 7.0 if you compare it to all prior versions of IIS. There are a ...
IIS Manager Window
Microsoft did a good job at building new rich GUI for managing new version of IIS. It is more intuitive and easy to ...