Deploying Silverlight applications that use CSLA for Silverlight

Here are a few steps that need to be taken in the process

  • Update XAP file for Silverlight application in order to set deployment time IP address/name
  • Make sure to install .NET framework version 3.5 SP1 on the application server that hosts WCF service
  • Check and create if missing MIME types for virtual directory that hosts Silverlight web application:
    • Extension: .xap MIME type:application/octet-stream
    • Extension: .xaml MIME type: application/xaml+xml
  • Set execute permissions on virtual directory to scripts only
  • Set content expiration to desired setting – I set mine to expire immediately
  • Update SQL server (or other database) connection string WCF host web.config file.  If you are using IP protocol, then here is an example: Data Source=127.0.0.1SQL2008;Initial Catalog=MyDBName;User ID=myUser;Network Library=dbmssocn

Leave a Reply

Your email address will not be published. Required fields are marked *