Click here to Skip to main content
Click here to Skip to main content

How to Host Your Silverlight App on Your Dropbox Account

By , 21 Sep 2012
Rate this:
Please Sign up or sign in to vote.
Silverlight and Dropbox Logo

You're new to Silverlight App development. After struggling for a long time, the time to show it to the world has finally come. But, you don't have any web hosting account. So, what will you do?

Don't worry about it (and don't commit suicide just because of it). I have a solution. You can use your dropbox account to host it. Curious how to do that? Just follow these following steps!

1. Make sure you have Dropbox Account

Dropbox

If you don't have any dropbox account, register and follow installation steps here: http://www.dropbox.com/. If you already have one, go to the next step.

2. Build your Silverlight App

Build HelloSilverlight Project

For example, if you have HelloSilverlight project, build it. After the project built, you'll get your .xap file and some generated files (such as HelloSilverlightTestPage.html, Silverlight.js, etc.) in your HelloSilverlight.Web folder.

HelloSilverlight.Web

3. Put Your XAP and additional files in Dropbox Public folder

Dropbox Public Folder

See the picture above? Now put those files to your Dropbox Public folder. To test if your silverlight app successfully hosted, copy public link of HelloSilverlightTestPage.html and paste it into your web browser's address bar.

Copy Public Link

And finally you'll be able to see your Silverlight app online. The view is just like picture below: Hello Silverlight in Chrome

4. Embed Silverlight App on Blog Post / Web Page

For final touch, if you need to embed inside a blog post or web page (see silverlight app above? that's what I mean), just copy the following HTML iframe tag:

<iframe height="300" src="http://dl.dropbox.com/u/8050878/silverlight-app/hellosilverlight/HelloSilverlightTestPage.html" width="400">
<h3>Silverlight not loaded</h3>
</iframe>

So, that's what I need to show you for this moment. I hope what I wrote here useful for you. If you have any question, please leave a comment. Come again to see my next tutorial

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Junian Triajianto
Software Developer
Indonesia Indonesia
Just an ordinary geek.
 
For more information visit my blogs:
Junian Legacy
Kodefun, learning by coding
Follow on   Twitter   Google+

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 21 Sep 2012
Article Copyright 2012 by Junian Triajianto
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid