Errr, some catchy title.... RSS 2.0
 Thursday, June 28, 2007

So, you wrote your first RIA and you want to publish in on the web and start counting those millions of dollars coming in. You deploy your application, type in the link but, nothing happens. Why?

 

 

 

It could be, that your hosting service doesn’t support .xaml files (mine started around a month age). There is a quick workaround for that, simply rename your .xaml files to .xml. You have to update your references accordingly, such as when you create your xaml object via JavaScript. Luckily, if you do that, everything still works (Intellisense) inside Visual Studio so if you do this before deployment, you won’t have any problems.

 

Note: You don’t have to do this for User Controls as they are compiled into the binary file.

 

Let’s assume that you have created your Silverlight project that consists of one Page.xaml file some User Controls, one Default.html page (so typical set up in Visual Studio). Below is a list of files that need to be uploaded to the server:

 

Default.html

Default.html.js

Page.xaml (or Page.xml)

Silverlight.js

 

And the most important one:

ClientBin (the directory in which is the client DLL)

Thursday, June 28, 2007 10:16:01 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
Silverlight
Comments are closed.
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Marcin Waligora
Sign In
All Content © 2008, Marcin Waligora
DasBlog theme 'Business' created by Christoph De Baene (delarou)