New Web Services Features in Silverlight 2 RTW

Here is an overview of the new features added since Beta 2. SOAP Headers SOAP headers were a big customer request, so we have added headers support in this release. There are two methods to use headers, depending on the customer scenario. The easier method is useful when you need to get/set a header while invoking…


Detailed Overview of Silverlight 2 Beta 2 Web Service Features

As you have probably read already (in Scott or Tim’s posts), Silverlight 2 Beta 2 provides a set of new and improved web service features. This post will go over our Beta 2 scenarions in more detail, and we intend to follow up over the next couple of weeks and drill down into particualr features. Duplex…


Databinding and the SyndicationFeed class

I found a couple of nice databinding tricks with the SyndicationFeed class, while putting together a code sample. The sample has been posted on silverlight.net for some time now (click here and then look for “Syndication – RSS/Atom Feed Reader”). For those not familiar with it: databinding is the association of an instance of a type or…


Debugging Web Service Usage in Silverlight 2

(Cross-posted from http://eugeneos.blogspot.com/2008/04/debugging-web-service-usage-in.html)  Silverlight 2 Beta1 makes it easy to use Web Services based on either the WCF technology (Windows Communication Foundation), the “.asmx” technology (ASP.NET Web Services), or practically any other SOAP platform. Unfortunately, when something goes wrong with service consumption, you often run into cryptic and incomprehensible error messages that don’t help you…


Nice overview of Silverlight HTTP stack

Karen Corby, PM working on the Silverlight 2 HTTP stack, posts an awesome overview. Her first post covers the site-of-origin policy (also known as the cross-domain restriction) and the two APIs used for HTTP communication: WebClient and HttpWebRequest/HttpWebResponse. http://scorbs.com/2008/04/05/silverlight-http-networking-stack-part-1-site-of-origin-communication/ Yavor GeorgievProgram ManagerConnected Framework


Getting full exceptions in Silverlight 2 Beta 1

When debugging Silverlight 2 Beta 1 apps in Visual Studio, you might see exceptions show up like this:An exception of type ‘System.ServiceModel.ProtocolException’ occurred in System.ServiceModel.dll but was not handled in user codeAdditional information: [UnexpectedHttpResponseCode]Arguments:Not FoundDebugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=2.0.30226.2&File=System.ServiceModel.dll&Key=UnexpectedHttpResponseCode By default…


Some tips on cross-domain calls

Recently I have been seeing forum questions on silverlight.net, where people are having trouble with the Silverlight’s treatment of cross-domain calls. I wanted go over the cross-domain restriction and share two tips that might help when using cross-domain web services in Visual Studio. What is this cross-domain thing? Modern web browsers have restrictions in place…


Silverlight 2.0 – Rundown of WebServices related functionality in Beta1

  Technorati Tags: Silverlight,WebServices   Hope everyone had a chance to download and play with the Silverlight 2.0 Beta1 bits. I wanted to put up a quick post detailing the features we have shipped in this Beta. We have shipped total of 5 features split across 5 assemblies. Core Assembly: System.Runtime.Serialization.dll – Data Contract OM…


Cross domain policy files in self-hosted services

One interesting question from the WCF forums: how to enable the cross-domain calls to self-hosted services, if there isn’t an “easy” place to put the clientaccesspolicy.xml (or crossdomain.xml) as there is on IIS? The post at http://blogs.msdn.com/carlosfigueira/archive/2008/03/07/enabling-cross-domain-calls-for-silverlight-apps-on-self-hosted-web-services.aspx explains how to use the web programming model capabilities of WCF (.NetFX 3.5) to do that. Carlos FigueiraSoftware Design…


Silverlight Web Services MIX 08 Talk

Here’s a link to Eugene’s MIX 08 talk called “Working with Data and Web Services in Microsoft Silverlight 2“. Great overview of the Web Services support in SL 2 Beta 1. Yavor GeorgievProgram ManagerConnected Framework