Welcome to Catalyst Blogs Sign in | Join | Help

Browse by Tags

All Tags » Windows Communication Foundation   (RSS)
Exceptions, Faults, and IErrorHandler
Every so often, someone posts a question about handling Faults in the MSDN WCF Forums ( http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=118&SiteID=1 ). The question follows the lines of “I get the whole FaultException<T>/FaultContractAttribute Read More...
DataContract Serialization and Inheritance 'gotchas'
I was giving a demonstration today of versioning DataContracts. During the demo, I made a big mistake and couldn’t figure out where I had gone wrong. I wound up promising the folks in my class that I would diagnose the issue and explain to them the error Read More...
Customizing the location of XMLNS attributes
A question I’ve seen in the forums and heard in person a few too many times over the past few weeks has been “how do I control the location of XML namespace declarations in my emitted XML?” In other words, folks want to control the Text encoding of a Read More...
Overcoming issues in SvcUtil
Last week, David Pallmann posted this: http://davidpallmann.spaces.live.com/Blog/cns!E95EF9DC3FDB978E!260.entry . In it, he points out that the default values for Bindings are typically off and need to be altered. Tomas Restrepo chimed in with an 'I agree' Read More...
Setting up tracing for WCF
I'm just posting this here so that I can refer to the post from the MSDN WCF Forum . SvcTraceViewer is documented in this article on MSDN . The article doesn't have my favorite config for tracing. I much prefer this: <system.diagnostics> <sources> Read More...
SvcUtil generated config
[clarification: I assert below that Thomas' post reminds me of the fact that many people don't know that SvcUtil is a tool that heavily leverages WCF assemblies. The point of this post is to explain where SvcUtil stops and System.ServiceModel/System.Web.Services Read More...
Understanding sync vs. async on a WCF Sender
Courtesy of the ThinkTecture blogs, we have this post: http://blogs.thinktecture.com/buddhike/archive/2007/09/01/414926.aspx . Apparently, there is some confusion about how to get a single ChannelFactory instance to hit a single web service using many Read More...
Accessing a WCF Service from SilverLight
I’ve been playing around a lot with the SilverLight 1.1 Alpha bits. I’m finally acquiring some knowledge of XAML and how it works—don’t expect anything amazing from me on this front for a long time. I have been trying to acquire some knowledge of how Read More...
How do MessageEncoderBindingElements fit into a Binding?
There is this misconception amongst WCF users that MessageEncoderBindingElements actually create a channel in a WCF channel stack. This is just wrong. I’ve seen the idea that MessageEncoders are channels published in books, discussed the issue with users, Read More...
Vista WCF Development on HTTP
As a Vista user and supposed 'good influence' on my fellow developers, I've been strongly resisting the urge to turn off the User Account Control when doing development. So far, so good. One area that almost had me was developing WCF services that listen Read More...
Use cases for WSDualHttpBinding (and duplex contracts in general)
Arun Gupta recently asked what the use cases are for WSDualHttpBinding over here . To save you some time, his article notes (correctly) that the binding exposes some WSDL that is WCF specific, using Microsoft namespaces. I've got no issues here. He then Read More...
Using JSON with Orcas Beta 1-- Fixing Config
The Orcas setup for WCF misses adding a couple of items needed for WebScript and the WebHttpBinding, both of which are needed to configure and run JSON type Web services. The fix is to update the applicable config file. To make the fix apply across your Read More...
CardSpace experience
Windows passport and otheis supposed to be some sort of wonderful replacement for Passport and other identity services. The problem is that not a lot of places have CardSpace enabled yet. As a result, many people who have CardSpace installed via .NET Read More...
JSON and System.Runtime.Serialization (and System.ServiceModel.Web)
With System.Runtime.Serialization , you only need to be able to transform data to and from some ‘wire representation’ to an XML Infoset . Whether that thing looks like XML or not when printed doesn’t matter. The .NET 3.5 framework is going to ship with Read More...
Windows Communication Foundation (WCF) Performance numbers are out.
The WCF team posted a perf article comparing WCF against other mainstays of distributed computing: ASMX, .NET Remoting, Enterprise Services, and WSE. In all cases, if you are doing 'normal' stuff (real objects with interesting serialization), WCF is faster. Read More...
More Posts Next page »