I have modified the "FormsAuthenticationSample" solution to be a VWG Silverlight Application. If the application is run as Silverlight using the .swgx extension the Logon window will not display and an error message "This control is either not implemented or is not mapped correctly to a Silverlight resource [Metatag='TC']." is displayed.
I have tried a number of different combinations and am able to make the Logon work as DHTML (Project Properties Web Specific Page set to MainForm.wgx) and once logged on the rest of the application will be Silverlight (web.config <system.web> <authentication> <forms defaultUrl="MainForm.swgx">) but then there will not be a redirect to Logoff.aspx and the application is still logged on.
The whole application will work as the original if it is left to run as DHTML by leaving the settings as the original with the above stated values set to "MainForm.wgx".
Basically it appears the Logon.cs is not being made available as a Silverlight resource.
Any ideas?