silverlight-oob

Silverlight client-side database with LINQ

I'm creating an out of browser silverlight app and would like to have a database in the client side. I've looked at sqlite but it seems that it does not work with silverlight. It would be great if I could use LINQ with it. I would prefer a free solution but payed is always an option. Any suggestion? Thank you ...

Check if RIA Services are accessible from OOB application.

I am attempting to add smart exception handling to a Silverlight 4 RIA application that is primarily consumed out-of-browser. My goal is to display a meaningful error window if RIA services are not currently accessible (e.g. The server is down for maintenance) Is there any facility built into RIA/SL for this task? ...

Fullscreen richtextbox in silverlight

I have a dataform with a richtextbox In it. The user can type some text and have some editing capability, but I'd like to give the user the option to expand the editor to fullscreen to have more richtextbox editing options. How can I implement a function that will allow me to fullscreen (or atleast create a bigger window) the richtextedi...

(Silverlight OOB) How to get the normal width and height of main window to save and restore them

I have a small out-of-browser app, and want to save and restore its window width+height+state between sessions using IsolatedStorageSettings.ApplicationSettings. I'm trying to save settings like this (on Application_Exit): IsolatedStorageSettings appSettings = IsolatedStorageSettings.ApplicationSettings; Window mainWindow = Application...

OOB constantly asking for update in silverlight

When I launch my OOB App, it keep asking for Update available and downloaded, even nothing changed. ...

Upgrading Silverlight Runtime for an Application installed Out-Of-Browser

For our current project we are leaning towards a Silverlight 4 Application installed Out-of-Browser be default on the client machines. Now I am wondering about the best possible approach to get the user to upgrade to a new Silverlight Runtime when our Application makes the switch to lets say Silverlight 5. Please hesitate from responding...

Silverlight 4 OOB App with elevated trust and signed cert does not update? Need to re-install?

I have a OOB app that did not require elevated trust and was not signed. Many people have downloaded it and use it OOB. I then needed to use elevated trust features, so I bought a legitimate certificate from Comodo and I now sign it. Everything works great on localhost - it is trusted and recognises the certificate. However, once I upl...

Automating a Silverlight 4 OOB Application from Native Windows App

We are considering to offer our users an improved Windows integration while still not requiring full-trust by running a small native utility application on the same machine that would need to be able to communicate with the Silverlight 4 Application running OOB. Prefererably this communication would take place using the Local Connection...

In a Silverlight 4 OOB App how to restore the Window Size and Position without jump

I cannot not find any way to restore the Saved Window Position without seeing the Window jump from its initial default Position to the Restored Position. The problem is that the first time I get access to the Window its already visible to the user. Am I missing something or is there currently no way to do this? ...

silverlight out of the browser is not showing on desktop

my silverlight application is not showing on desktop after instillation it only shows in all programs list. is there something in the configuration or it's about the windows ? ...

Silverlight 4 screenshot OOB

Hi ya'll, Currently I'm trying to do create an out of browser application that captures the whole screen. Not just the Silverlight application. Now I know that this is not possible with plain Silverlight & C#, but you need to do some dllimports and stuff, it needs to run OOB and you need an elevated application. That is no problem at ...

How to ensure that a Silverlight OOB app only has a single instance?

Is there a way to ensure that only a single instance of the desktop version of a trusted Silverlight 4 Out Of Browser app will run? Or do I need to manually enforce this through the creation of a crude mutex of some sort? If I must enforce this myself, I'd look at creating a file in isolated storage as a lock and then deleting it on e...

Silverlight 4 OOB running against local SQL Express Instance

Right now I have a Winform app with a SQL Server back end. The DAL is comprised of Linq to SQL. One of the complexities of this app is it's need to function offline. I have accomplished this by using Merge Replication to keep there local SQL Express instances in sync with a central SQL Server. I have some logic that detects there c...

Capturing trace/debug information from a Silverlight OOB app running on a Mac

I'm having a problem with a trusted Silverlight 4 OOB app when it runs on a Mac. In order to debug I'd really like to be able to capture the debug/trace information output by the app. (The problem is in in code running in a background thread so outputting debug information to the screen isn't practical and risks creating new issues.) I...

XAP Caching in Out of Browser (OOB) Silverlight Applications

When a Silverlight 4 application is installed and run out-of-browser (OOB), is it possible to have the application automatically recognize updates to the .xap file (and either automatically install or prompt the user to update)? If you access the application from it's original web URL, you are automatically given the latest & greatest (...

Why would WebClient.OpenReadAsync return a e.Result of zero length if download is successful?

Using the following code (from a Silverlight 4 OOB app) I'm getting a result stream with a size of zero even though it takes the time to download the whole file (900+MB) and no error is reported. Fiddler also says the whole file was downloaded. The handler on progress changed (although not shown below) is hit and reports an increase in ...

Interchangeability / re-usability of WPF, Silverlight and Silverlight OOB applications?

For the experienced WPFers out there, how re-usable are WPF, Silverlight and Silverlight OOB applications and components? How much overlap is there? For example, could I write one application and easily deploy it in the three aforementioned ways? Ideally, I want to write as little code as possible and have the flexibility of deployin...

Cancel Silverlight OOB Application Exit?

When the user closes my application I'd like to be able to prompt them with a confirmation if they have unsaved changes, and cancel the application's closing if they indicate to do so. The Application's Exit event does not allow cancellation. Is there any way to do this? ...

Silverlight - Prevent OOB

I would like to deactivate the right click in my app that offers the option to install the app on the desktop. How do I do such thing? ...

Open Silverlight OOB on url, if installed.

Is there anyway to make the OOB version of my Silverlight app open(if installed) when i go to http://mydomain.com/silverlightapp <--- where the Xap is loaded. Just like a irc client opens when i go to irc://servername but instead of prefix can my app open the OOB version if App.Current.InstallState == InstallState.Installed when it's ...