peterdungan:
Other approaches I've seen include cloaking - generating a seperate version of pages for search engines to use. Would that be feasible in a multipage Silverlight site? A fairly simplistic implementation of this idea would be to have indexable pages that contain the silverlight application with parameters setting which page to display - using the pages only as a jumping off point and not using postbacks - just having the seperate pages to catch relevant google searches.
Hi Peter,
I haven't really tried this. But the "simplistic implementation" you mentioned sounds feasible:
1) Host your Silverlight application in either ASP/ASP.NET page. The ASP/ASP.NET page must be capable of processing URL parameters and pass them as initialization parameters to the Silverlight application.
For example: http://www.mydomain.com/MyApp.aspx?page=1&query=john_smith , MyApp.aspx processes the URL parameters and populates the HTML page with necessary metadata that search engines feed on; and at the same time, tells your Silverlight application what page it should display and what query it should use by passing it the necessary initialization parameters it needs.
2) At startup, your Silverlight application reads the initialization parameters and decides which relevent page to show and query to use. And as far as application navigation, still use in-Silverlight navigation.
3) It'd be nice if the HTML page generated by MyApp.aspx contains a button/link that allows the user to bookmark the page or share it to link sharing sites, etc. And also let your Silverlight app modify the relevant URL for this button/link everytime the Silverlight apps goes to a different page.
Anyway, just thinking out loudly. What do you think?
Sherwin Chu