TestPage.aspx in silverlight

I am new to Silverlight. I want to know what TestPage.aspx and TestPage.html are in silverlight. Actually I have google but don't get enough information. Can anyone give me an answer?

+2


a source to share


2 answers


TestPage.aspx and TestPage.html are the pages that will host Silverlight content. As you probably know, Silverlight is just a project (not a web application) and needs a page to host it on. These pages are created by default and help you test XAML content at design time, which you can later remove from your project.



+4


a source


TestPage.html is dynamically generated by the Silverlight application as part of the Debug process. If you look at the Debug tab for application properties, you will see the option to dynamically create a test page. If selected, you create TestPage.html in the / Bin / Debug folder of your Silverlight application.



The best solution is to create a web application in the same solution as the Silverlight application, and then in the properties of the web application, go to the Silverlight Applications tab and add the existing Silverlight application to the Internet project. Also make sure the Silverlight checkbox is checked in the Debuggers section of the Web tab of your web application.

+1


a source







All Articles