Silverlight: How to remove Mac OS X Mavericks Safari 6.1 sandbox restrictions for Silverlight enabled websites

By default, Mac OS X Mavericks / Safari 6.1 and later now load plugins like PDFs, Flash, Silverlight, and Java in a sandbox to protect users from possible exploits in the plugins, but can also prevent those sites from working as designed. See “Added security for plug-ins” On  http://www.apple.com/safari/“PDFs and widely used plug-ins like Adobe Flash…


Using ELMAH in Windows Azure Web Sites

It’s pretty easy to track down an exception in an on-premise ASP.NET application. Just run the application under a debugger and examine the exception when the debugger breaks into your code. It can get quite a bit trickier when your application is running in Windows Azure Web Sites because you don’t have access to the…

2

How to authenticate with ADSF in Silverlight 5 Application

How to authenticate with ADSF in Silverlight 5 Application This article uses sample from http://hashtagfail.com/post/11094642160/wcf-wif-silverlight-active-federation as start point and gives an example how to modify that sample to setup ADSF as STS token service for Silverlight 5 to authenticate against. ADSF returns saml token to Web Application that hosting SL5 application, and is decrypted and then…

0

What are required for Silverlight Application that requires Elevated trust

For In-Browser and Out-Of-Browser (OOB) Silverlight application, there is an option “Require Elevated Trust” when you create and build Silverlight Application. This options requires the following: 1. set registry to allow Elevated Trust on clients’ machine: Key path for 32-bit computers:HKEY_LOCAL_MACHINE\Software\Microsoft\Silverlight\ Key path for 64-bit computers:HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Silverlight\ name: AllowElevatedTrustAppsInBrowser Value: 1   2. Sign the xap with…

0

How to manually clean up a broken Silverlight installation in Windows 8

If you are having trouble with installing, uninstalling or reinstalling Silverlight on your Windows 8 machine, then these steps will likely to help you to perform a clean uninstall of Silverlight from your Windows 8 machine: Steps to manually clean up a broken Silverlight installation in Windows 8: Download Fixit20104 msi from here: Close all…

2

Fixing a Corrupted Silverlight Installation

Recently I have dealt with few cases where a Silverlight app keeps on crashing on few machines while it works fine on others regardless of browser versions.  As you can sense, this is likely a machine specific issue and something to do with the installed Silverlight runtime. The solution may seem easy, just uninstall via Control Panel…

0

Internet Explorer continuously prompts for installing Silverlight when it is already installed

If you keep being prompted to install Silverlight when it is already installed, then you are at the right place (hopefully!). There can be different reasons for the failure. Here I am listing some of the most common causes and their corresponding solutions: IE Security Enhancement (This is applicable only for the Server version of…

0

Set HttpWebRequest.KeepAlive = false to workaround issue casued by HttpWebRequest using a closed socket in very specific scenarios

Issue: System.Net.HttpWebRequest uses a socket that is closed in some special scenarios. (In this case it is due to some custom applications implement SSL not fully following RFC and so SSL alert caused socket to be closed forceily) In this case, to workaround the issue, we can set System.Net.HttpWebRequest.KeepAlive = false Symptom: System.AccessViolationException could be thrown…

0

Data Size limit causing Silverlight "Not Found" error when communicating with backend WCF Service

Issue: when data size exceeds a limit (e.g. 50000Bytes), Silverlight application throw “NotFound” error when communicating with WCF service at backend Troubleshooting Tips: The symptom tells us the issue is due to a limit between Silverlight and WCF Service. But there are many limits set, what could be the one we need to increase for…

0