Ir para o conteúdo

Application And Page Name Restrictions

Vinyl favors semantic URLs. A semantic URL is a user-friendly URL, one that can be understood by end-users. In Vinyl's case, URLs are composed of application and page names.

A typical URL might look something like this:

http://example.com/Vinyl/app/Sales/Orders?Orders.OrderId=1234

In this example, the application name "Sales" and the page name "Orders" appear in the path portion of the URL. The query string identifies the selected order.

Browsers, web servers and operation systems all impose restrictions on URLs. Vinyl, in turn, imposes restrictions on application and page names. These roughly fall into one of the following categories:

  • Characters that are invalid in the path portion of a URL
  • Characters that are illegal in a Windows file name
  • Windows reserved file names

Vinyl will prevent developers from using restricted characters and names when naming applications and pages.

For a list of characters that are invalid in the path portion of the URL, see the following document:

https://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.requestpathinvalidcharacters%28v=vs.110%29.aspx

For a list of reserved Windows file names and characters that are illegal in a Windows file name, see the following page:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx