out-of-browser

How to call a service when a SilverLight OOB app is closing an

瘦欲@ 提交于 2019-12-12 04:39:43
问题 I need to call a WCF service to update when my SilverLight app exits. it is an out-of-browser app and I'm using SL4. Since the WCF in SL works only async it is not possible to do on Application.Exit I tried also MainWindow.Closing which is available for OOB but this didn't work either. Tried to make the Closing function wait for the WCF Completed callback using thread locking but it just hang. Any ideas? Shahar 回答1: Save the data and submit on next launch Calling a service on exit is a tricky

Open page in silverlight out of browser

折月煮酒 提交于 2019-12-11 00:24:24
问题 Is there any way to open a page in the browser by clicking the app in out-of-browser mode? Thank you 回答1: HyperlinkButton works. I was trying with HtmlPage.Window.Navigate with no success. And because the button supports content it is simple to create something like a linked image. 回答2: Agreed with Artur and simple way to do this is : 1) Put HyperLink Button in your Silverlight page. 2) Generate Click event and provide : hyperlink.NavigateUri = new Uri("Url",UriKind.RelativeOrAbsolute); 3)

Multiple Out-of-Browser Applications in One Application

六眼飞鱼酱① 提交于 2019-12-10 09:33:33
问题 I'm looking at a scenario where I need to create a single "master" Silverlight application and then add "child" applications for an out-of-browser Silverlight application. The scenario is something like this. A user will visit a gameboard web site and choose a game to play. Let's call it Checkers. He likes it, so then he installs the out-of-browser app to his desktop. He then finds Chess, and installs that too. For both games, while played on the site, he has stats (games played, win/loss

Isolated Storage, OOB, and Removing the App

て烟熏妆下的殇ゞ 提交于 2019-12-08 18:53:56
问题 What happens to the files created by Isolated Storage when the OOB app is removed? Do they remain or are the files also deleted? From what I can deduct the files would be maintained so they can be accessed by the same app in browser. Right? 回答1: Correct, the isolated storage files remain. End users can remove all isolated storage data, or data for a specific app, through the Silverlight Configuration dialog. It is available both in the Start Menu / Applications menu, or by right-clicking on

ssl, silverlight, wcf and local install

孤街醉人 提交于 2019-12-07 15:41:22
问题 I'm trying to get a silverlight program to install locally and still be able to access wcf data services over ssl. When I run the application in browser, everything works fine. When I run the application out of browser without ssl everything works fine. When I run the application OoB with ssl, I get a "Not Found" error. When I run fiddler and retry, everything works fine. I'm guessing that the program isn't correctly decrypting or sending the ssl traffic when OoB since when fiddler does it

Silverlight 4 launch a trusted application into the browser?

天涯浪子 提交于 2019-12-07 11:33:30
问题 I just lost 5 hours looking for a answer which i haven't been able to find :p First, I'd like to force a trusted application (i need to access the file system) to display into the browser. Based on what i found on google a trusted application must be installed and launched as a desktop application (also called out-of-browser application). So, i want to have an installed application on the client side but meanwhile, the user must also be able to start this same application into a browser

ssl, silverlight, wcf and local install

牧云@^-^@ 提交于 2019-12-05 22:42:10
I'm trying to get a silverlight program to install locally and still be able to access wcf data services over ssl. When I run the application in browser, everything works fine. When I run the application out of browser without ssl everything works fine. When I run the application OoB with ssl, I get a "Not Found" error. When I run fiddler and retry, everything works fine. I'm guessing that the program isn't correctly decrypting or sending the ssl traffic when OoB since when fiddler does it for it, the application works fine. I'm also not hitting any exceptions or break points on the server

Silverlight 4 launch a trusted application into the browser?

ぃ、小莉子 提交于 2019-12-05 14:12:53
I just lost 5 hours looking for a answer which i haven't been able to find :p First, I'd like to force a trusted application (i need to access the file system) to display into the browser. Based on what i found on google a trusted application must be installed and launched as a desktop application (also called out-of-browser application). So, i want to have an installed application on the client side but meanwhile, the user must also be able to start this same application into a browser window when he goes on my web site. Is this possible ? Second, I'd like to give to the user the possibility

Multiple Out-of-Browser Applications in One Application

坚强是说给别人听的谎言 提交于 2019-12-05 13:27:08
I'm looking at a scenario where I need to create a single "master" Silverlight application and then add "child" applications for an out-of-browser Silverlight application. The scenario is something like this. A user will visit a gameboard web site and choose a game to play. Let's call it Checkers. He likes it, so then he installs the out-of-browser app to his desktop. He then finds Chess, and installs that too. For both games, while played on the site, he has stats (games played, win/loss records, etc.). For each game on the site, he navigates to a different page. But now he wants to play

Launch Silverlight Out-of-Browser from browser post-installation

随声附和 提交于 2019-12-05 12:41:46
问题 I am building a prototype application in Silverlight 4 Beta and I am using the Out-of-Browser (OOB) functionality. I need the OOB functionality to be able to access the local file system, and I would like to avoid writing an ActiveX component or Java applet. I have a requirement to be able to launch the OOB experience from the browser once it has been installed on the client machine. All I seem to be able to do is detect from the browser whether the application has been installed, and then