Monday, 15 July 2013

c# - How to automaticly refresh silverlight pages after deploy server services -



c# - How to automaticly refresh silverlight pages after deploy server services -

firs of sorry bad english.

i have silverlight application. , there much client using application.

when deploy new version see same problem. know lots of time users opening silverlight window , not request in long time. İf deploy projects server after user open window , user request after deploy *httpwebrequest_webexception_remoteserver* error occuring.

how can larn service version changed before request , refresh client page automaticly.

i add together timer app.xaml , requesting server every 5 minutes. İf server deployed *httpwebrequest_webexception_remoteserver* error occuring. , catcing exception showing warning message user. can not trust way.

what best way solve problem.

thans.

the best way know automatically refresh siverlight page manage assembly version of xap (which practice anyway): ie increment each release.

silverlight automatically download if not match server version.

you can alter assembly version in properties->application->assembly information

[assembly: assemblyfileversion("1.0.0.1")]

c# silverlight deployment version ria

No comments:

Post a Comment