Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Calling WCF serice in Vista Gadget (Silverlight 2 beta 1)
1 replies. Latest Post by jazzkid on May 10, 2008.
(0)
jazzkid
Member
2 points
2 Posts
05-09-2008 9:31 AM |
I have a Silverlight 2 beta 1 application in a Vista sidebar gadget.
The silverlight app calls a WCF service hosted on IIS (not localhost).
I have a crossdomain file on the server allowing *
When I run the application in my browser the WCF service i accessed just fine, but when it runs inside the gadget I get an Async_Exception.
Is there some settings for the gadget that could be missing allowing it to access the WCF service, or something else that I need to do ?
peace.
05-10-2008 6:37 PM |
I understand that this has to with if I run the Silverlight from "hosted" file or "static" html.
Calling the server runs just fine if I "open in browser" (running a dev server). But not if I just open the Silverlight test file in the browser as HTML.
So my question is how you do i a Gadget senario when the file is run as just a plain html file. How could I access a WCF service from SL then ?