I have a Silverlight application that interfaces with an SQL database. It does this by having a service reference to a WCF service. This WCF service holds a DataContext object (generated by SQLMetal.exe) and accesses the database. The Silverlight application can contact the server to get information, and can submit changes to it etc.
Now, some of the tables contain binary data (images in this case). This may cause the transfer of one of the tables to be relatively slow.
What I would like to have, if at all possible, is a progress bar in the Silveright application which lets the users know about the progress of the transfer.
Is this possible? How can this be done?
None of these know how long the query will take, nor the percentage complete: The WCF service, the datacontext, the database.
Your best options are: