Contents tagged with Silverlight

  • Silverlight Problems: Yet Another Plug In

    So I labored mightily last December on TruthWidget.com. Wanting to be hip and happening I implemented it in Silverlight 4 and RIA Services. It worked out well. I was pumped. So post-launch I asked a few non-technical friends to take it out for a spin. And then the problems started. They told me it didn't work. I quickly discovered most didn't know that they needed to install the Silverlight runtime. I was counting on the blue box of joy to do the work for me but it wasn't explicit enough and many didn't even look at it very closely. So following Tim Heuer's lead I dove into a custom installation experience. But the detection script reports Chrome as an unsupported browser. I could hack the script of course. But the problem is much deeper: my friends didn't want to install yet another plug in. They didn't understand why they needed to do it, had questions about it, and finally hesitated to take the simple 30 seconds to do it. I realized that if this is how my friends reacted what would complete strangers do? In the end I decided I needed to port the app over to a web application. MVC 3 to be specific and it's going great. More on that later. My takeaway from this experience is if you cannot control the end user's browser then stick with tried and true web applications. If it's an intranet app where you know your end user's environment and they need a rich-client experience then consider Silverlight 4. Continue reading...

  • WCF Debugging Tip

    WCF Debugging from Silverlight client-side: WebRequest.RegisterPrefix("http://", WebRequestCreator.ClientHttp);Also, turn on debugging in the WCF service Web.config. You'll get detailed inner exception information. In the <serviceBehaviors> region:  <serviceDebug includeExceptionDetailInFaults="true" />   Continue reading...

  • Silverlight 4 Beta Announced

    Just when I was getting used to SL 3, Scott Guthrie announced today at PDC that SL 4 Beta is now available at silverlight.net. Among the new features he demonstrated: Continue reading...