How to deploy Sliverlight 5 Web project?

Sliverlight 5 is a latest version of Sliverlight. I have included Sliverlight 5 Web project deployment steps in this article. I have created virtual directory in IIS and hosted it. I hope it will be useful for you.

How to deploy Sliverlight 5 Web project?
You have to do following steps to deploy:
1] Right click on Sliverlight 5 Web project and go to Publish menu. You will get tab "Publish Web".
2]In "Publish Web" tab, Default publish profile is Profile1.
3]Select Publish method is FTP and give the target location.
4]You will find two radio buttons
A) Replace matching files with local copies.
B) Delete all existing files prior to publish.
You can select any one from above as per your requirement.
5]In credentials, you can set username and password, but if you do not want to set credentials then you have to check the checkbox "Anonymous Login".
6] Next step is to click on "Publish" button to finish.
7] Now go to the target location and copy the created folder in above steps and place it in C:\inetpub\wwwroot (Default path for virtual directory)
8] Open IIS and click on Application pools. click on the pool name which you are using for this Sliverlight web project.
9]Change "Managed Pipeline Mode" from Integrated to Classic
and change .Net Framework Version as V4.0 (As per the targeted framework you are using)
10] Click on the Virtual directory which you have placed in C:\inetpub\wwwroot and go to Manage Application ->Browse Application and browse the link present below that.
11]You will find "Manage Application" menu under "Actions" at your right hand side.
12]Browse the page and use your Silverlight Web project.
If you want to share this application other than your machine then instead of localhost , you can use your machine's IP address.
Note: Make sure that another machine where you are using this silverlight application, must have Silverlight installed else it will ask you to install it and go to microsoft default site for silverlight installation.
This way you can deploy Sliverlight5 Web project.


Guest Author: Shankar26 Oct 2012

Nice article..

But, I dont have idea on ftp.

In the boxes given for ftp address, user name and password, what datas should be given??

How to get ftp address, user name and password??

Thanks and Regards,


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: