Search code examples
xmliisconfigurationwebserver

Are microsoft IIS configuration tags case sensitive?


I have a question regarding the configuration of Microsoft IIS.

All its configuration files (ApplicationHost.config, machine.config, web.config, etc.) are in XML format. A configuration reference is given here: https://learn.microsoft.com/en-us/iis/configuration/

My question is: Are the tags generally case sensitive, or case insensitive? The documentation here

https://learn.microsoft.com/en-us/iis/configuration/system.ftpserver/security/authentication/#configuration-sample

shows e.g. the authentication section being uppercase, while it is defined to be all lowercase.


Solution

  • You can report documentation bugs (or send pull requests) to Microsoft as that article includes obviously incorrect sample code.

    IIS configuration elements (tags in your words) are strictly case sensitive (while some settings might accept an input value in incorrect casing).