Skip to main content

Microsoft Silverlight

Calling WCF serice in Vista Gadget (Silverlight 2 beta 1)RSS Feed

(0)

jazzkid
jazzkid

Member

Member

2 points

2 Posts

Calling WCF serice in Vista Gadget (Silverlight 2 beta 1)

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.

jazzkid
jazzkid

Member

Member

2 points

2 Posts

Re: Calling WCF serice in Vista Gadget (Silverlight 2 beta 1)

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 ?

peace. 

 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities