Web App with Multiple Pages

Right, so the main way of dealing with this is through the use of hashtags, such as:

http://www.example.com/#page1

If you still want your users to use traditional urls like this

http://www.example.com/page1

Then you’ll need to translate that in HandleUrl and send back a response which has the Location header set to use a hashtag and the HTTPStatusCode set to 301 or 302.