enableWebScript, UriTemplate, and HTTP methods

A little while ago I ran into an interesting set of errors that may be of interest to you. Consider the following service contract snippet: [OperationContract] [WebGet(UriTemplate="foobar/{value}")] String GetData(String value); If you add the enableWebScript behavior to an endpoint that is using the WebHttpBinding, you will see this exception when the ServiceHost starts: System.InvalidOperationException: Endpoints…

4

Life of a WCF Demo, Part 1

I thought it might be mildly interesting to document the lifecycle of a demo. Over the next week or so I have to design, build, and deploy a demo that shows off some of the web-centric features of WCF in the .NET Framework 3.5. First, let me state the constraints: 1) it has to be…

4

WCF, ASP.NET AJAX, and JavaScript Proxies

I spent this weekend tinkering around with the JSON messaging capabilities of WCF new in the .NET Framework 3.5 (Orcas). The object model is changing substantially between Beta1 and Beta2, and I think the changes make for an easier to use system. To better understand the JSON messaging features of WCF, check out some of…

6