Search code examples
asp.netxhtmlvisual-web-developer-2010

Visual Web Developer - Is it a mistake to use a capital letter when naming folders?


I keep reading how xhtml and other languages alike don't like CAPITAL letters. This may seem like a rudimentary question, but let's say you named a page, for instance:

Contact.aspx

instead of:

contact.aspx

Does it matter? If it does matter, could I simply just rename the file, and any hyperlinks that point to it?

Thanks!

Jason Weber


Solution

  • Does it matter?

    If you host your application in IIS under Windows it doesn't matter as contrary to *nix systems, filenames are not case sensitive on Windows. You could leave the filename with a capital letter and have hyperlinks point to a full lowercase url (recommended) and still execute the same page.