I would like my application to send out an email with a link. The user would then click the link and the application would do something.
I’ve tried the following so far.
What am I missing? Seems like I should be able to do this.
See attached sample.
You cannot use an arbitrary URL path, it must be the path where the default document is located otherwise the server has no way of knowing the /app/foo/ means /app/default.html. Wisej is Single Page Application (SPA) system.
You can deep link using either URL arguments or URL hash. The only advantage of using the hash is that it doesn’t trigger a reload in the browser. Browsers always reload the page when the url changes, it doesn’t matter that only an argument has changed. When changing the hash there is no reload. Wisej works in both cases.
When handling hash changes you can handle only the Application.HashChanged event.
When handling URL arguments you have to handle Application.ApplicationStart and Application.ApplicationRefresh. The first is fired when a new user loads the URL. The second is fired when an existing user reloads the page (or changes an argument in the URL – which is the same thing for the browsers).
Please login first to submit.