Silverlight 3 Navigation
This post is about the session called What’s new in Silverlight 3 given by Mike Taulty.
A major disadvantage of RIA, Rich Internet Application, is that the state is of an application can not be recovered after the browser has been closed.
In Silverlight 3 there’s a solution for this problem. In SL3 you are now able to create a SL page. This in combination with the Frame and navigation Source make it possible to navigate through the same application based on the url.
The first part of the url is the path to the page on which the Silverlight page is located, for example http://localhost/SLapp.html.
After this the part of the url for the navigation within the application can be placed. This part must be preceded by a ‘#’, for example http://localhost/SLapp.html#SearchPage.xaml.
From webapplications we also now the querystring in the url for passing parameters to a site, this is also implemented in silverlight in the same way. The previously used url can then be formatted as followed http://localhost/SLapp.html#SearchPage.xaml?title=silverlight
More information about page navigation can be found at Mike Taulty’s blog.

