Where developing an application in Silverlight you will need to create more than one version of the application. Each new version of the application will require each client to clear the cache (CTRL+F5). Normally, you don’t want the application to be downloaded each time. Because of this, you will not configure the package to expire after a specific period of time.
But what happens when you have a new version of the application? You cannot tell to the clients to clear the cache.
A simple solution for this problem is to version your assemblies. When you deploy on IIS server a new version of the application with the assembly version updated, the new version of your application will be automatically download from the server.
If you don’t know how to version your assemblies you can visit the following link: http://vunvulearadu.blogspot.ro/2012/05/how-to-change-version-of-our-solution.html
Don’t forget to update the assembly version each time when you make a deploy.
But what happens when you have a new version of the application? You cannot tell to the clients to clear the cache.
A simple solution for this problem is to version your assemblies. When you deploy on IIS server a new version of the application with the assembly version updated, the new version of your application will be automatically download from the server.
If you don’t know how to version your assemblies you can visit the following link: http://vunvulearadu.blogspot.ro/2012/05/how-to-change-version-of-our-solution.html
Don’t forget to update the assembly version each time when you make a deploy.
Comments
Post a Comment