Skip to main content
Home Forums General Silverlight Getting Started Project files as ZIP for demos?
13 replies. Latest Post by roberino on October 1, 2008.
(0)
pascalsv
Member
9 points
32 Posts
07-02-2008 9:09 AM |
Hi there,
I have some problems in creating the "Getting started" projects. I am sure that I am missing out some changes in the corresponding project files. Would it be possible to offer the demo projects as a collection of the necessayr files zipped?
Thanks & best regards,
Pascal
heuertk
Participant
1380 points
423 Posts
07-02-2008 12:19 PM |
Hi Pascal...which getting started project?
07-02-2008 1:30 PM |
Hi, basically they are all without Code, aren't they.
In special, I mean the Demo with Plain XML transfer, see http://silverlight.net/quickstarts/Remote/UsingREST.aspx
Best regards,
07-02-2008 2:10 PM |
I would look at the http://silverlight.net/learn for videos as well as code that demonstrate some of the same features.
-th
07-03-2008 2:19 AM |
Hi -th, I did but this did not help me as good as the Getting Started example. It is just a tiny bit that is missing me and I cannot find why I am not able to see any page when I rebuild this example in my VS2008. Maybe I could give you a short explanation what I did and you could check, what I am doing wrong, please?
Thanks,
07-03-2008 2:24 AM |
sure, give me some detail
07-03-2008 8:12 AM |
OK, here you go:
- Created new Silverlight Application with HTML Web Page "ShowPoxQuickStart"
- Project now looks like this:
- And now it is getting tricky! I have Source for App.xaml, App.xaml.cs, Page.xaml, Page.xaml.cs but where does the TestPage.html come from? In the Silverlight Application or the WEB Project? Where do I need to add it? What is the ShowPoxQuickStartTestPage.html for? Where do I need to add this?
If I just transfer the source for the two xaml and xaml.cs files, I do get this error in the IE windows that pops up when running the app:
07-03-2008 7:32 PM |
TestPage.html is dynamically generated from the Silverlight application project. In my opinion it is better to use the test pages provided to you from the Web project hosting the Silverlight application. When you run the application, what does the address bar say?
07-07-2008 5:38 AM |
Hi!
I've put the code from the provided TestPage.HTML in file "SilverlightApplication2TestPage.html" of my project (see project view above). Now I do get an empty page, the URL is: http://localhost:1056/ShowPoxQuickStart/SilverlightApplication2TestPage.aspx. The error is "Sys.InvalidOperationException: Initialize Error #2103 in control 'Xaml1': Invalid or malformed application: Check manifest"....
Why does it choose the aspx file instead of the html? And how do I change that?
07-07-2008 11:08 AM |
Visual Studio has that marked as the start page. just right-click on whatever page you want to run (or you can also just manually type it in) and set as startup page.
07-08-2008 2:42 AM |
Hi Tim,
now I do get the error: InitializeError: Could not download Silverlight Application. Please check web server settings.
07-08-2008 12:08 PM |
wow, how frustrating :-( -- Pascal -- can you send me your project offline and let me take a look at it? (timheuer@microsoft.com)
efredin
2 points
1 Posts
07-16-2008 9:13 PM |
I was experiencing the same issue. Turns out I didn't have a startup object selected in the silverlight application. (Project properties screen)
roberino
19 points
19 Posts
10-01-2008 11:58 AM |
+1 to efredin's solution. I had renamed my project file but had not set the Stratup object in the Silverlight project.