Silverlight App. with OOB hangs/waits with Secure WCF Service -


i have sl 4 application (with oob , elevated privileges) makes connection secure wcf service. wcf service never called, application waits connect , afterwards timeouts. have checked fiddler , wireshark , saw no connection made, application waits! know if elevated privileges not requested application crossdomain.xml etc. setup need done, that's because use oob , elevated privileges. , if make sl app. not oob, application connects , gets crossdomain.xml , gets security exception, expected.

to investigate problem further, setup machine vs 2010, sl4 etc. created new sl4 project , wcf service not secure. in oob mode elevated privileges same problem occured again. please note machine clean xp(you might think libraries might mixed up). have checked problem wpf application insted of sl , normal, connection made. below sample solution, please try , send feedback.

my platform described below:

  • windows 7
  • silverlight 4, oob, elevated privileges
  • vs 2010
  • a wcf service.

download solution

well, problem is: accessing wcf service in app startup event not possible. need call service in higher stages in mainpage constructor or on loaded event.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -