Welcome to MSDN Blogs Sign in | Join | Help

July 2007 - Posts

Four Hundred and First Post

Continuing the series of milestones, Monday marked the 400th post. With the small number of days having multiple posts and the very small number of days having no posts, that has as expected worked out extremely near to exactly one post per weekday for

Configuration Quick Reference

Several people have asked me about configuration questions that could have been resolved by looking at the format for configuration files. The SDK actually has a very nice diagram covering all of the different configuration nodes although it doesn’t have
Posted by Nicholas Allen | 4 Comments
Filed under:

Orcas Beta 2 Released

The second full public beta of the .NET Framework 3.5 came out this week. The final version should be out sometime around the end of the year. Unlike previous releases, I can't find an online link to the release notes or known issues. I'll update this
Posted by Nicholas Allen | 3 Comments
Filed under:

Message Disposal

My service operation has an untyped contract and I'm trying to save the messages that it receives for processing later. However, the messages always say that they are closed before I can read them. Why are the messages closed? Messages are good for a

Data Contract and Message Contract

I have an existing web service that I need to replace with a WCF web service. How do I choose between using a data contract and a message contract? There are actually three choices to consider for describing the messages that your service uses: data contracts,

Listener Won't Start Bonus Tip

As a followup to yesterday's post on resolving listener and activation errors , here's an additional point to consider while attempting to diagnose a problem. Once you've found where the failure symptoms first appear, whether that be in the service, the
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Listener Won't Start

Here's a debugging tip for those of you that are developing non-HTTP web services on top of IIS7. IIS7, which comes with Vista and Windows Server 2008, allows you to host activatable services using arbitrary network protocols. WCF ships with protocol
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Top Content

I'm thinking about including lists like these in the sidebar, but I wanted to try this out once first. Subscriptions mean that the number of RSS readers is more or less the same for articles posted around the same time. Therefore, I'm defining top content

Svcutil Tips

Two answers in one today on the subject of svcutil. How do I merge together configuration files like Visual Studio does with multiple web references? Use svcutil.exe with the /mergeConfig option. How do I pass credentials when accessing metadata from

Enabling Performance Counters

Performance counters are a mechanism for monitoring services that you can get without changing any code, but you have to ask for them. The values of performance counters give you real-time monitoring information about the operational characteristics of
Posted by Nicholas Allen | 5 Comments
Filed under: ,

A versus B

It's felt like there have been a lot of articles based on answering reader questions lately. And, when I checked the totals, I noticed that the next Answers column would be the 100th. Since I started running answers to questions a little less than a year

Local Settings and Policy

You have talked in the past about how a service has both local settings and settings that are shared through policy. How can I transmit all settings through policy to the client? The two types of settings are clearly distinguishable. Shared settings are

Sticky Sessions

How can I use reliable messaging together with a load balancer? The point of reliable messaging is to help ensure that messages get from one place to another. This means that the protocol notices when messages that were expected to be delivered go missing.

Contact

I get quite a few messages through the email contact form- usually at least a dozen per week that ask questions about WCF. For the past year, I've been able to reply to nearly all of these with a wait of no more than about 1-2 weeks. By the way, if you

Reader Quotas with Untyped Messages

I have an operation contract that uses untyped messages. When using the message, I get an error telling me to change the quota settings on the XmlReader. Where are these quotas located? I'm not using an XmlReader. A message represents an XML InfoSet.

ChannelFactory Behaviors

How do I attach a custom behavior to a dynamically generated proxy object? This one should be easy if you've read the past two articles about modifying a ChannelFactory after creation. Although behaviors can't be specified while creating the ChannelFactory,

WS-Policy 1.5 Proposed

On Friday morning another one of the web services standards being worked on at the W3C moved to the Proposed Recommendation stage. WS-Policy defines a language for web service requirements and capabilities that can be used together with other description
Posted by Nicholas Allen | 0 Comments
Filed under: ,

WCF Case Studies

The Microsoft case study site is a collection of easily-digestible executive-style summaries of people using Microsoft products. While ordinarily this may not sound all that interesting, case studies are good sources of easily stealable material whenever
Posted by Nicholas Allen | 2 Comments
Filed under:

Adding HTTP Headers

Why doesn't anything happen when I try to add HTTP headers from a message encoder? The problem here is a basic issue of timing. Recall the interface contract that a message encoder has with its transport. The transport receives a message from the next

WS-ReliableMessaging 1.1 Completed

I thought I posted this right after the ratification announcement, but evidently I ran Spot the Intern instead. WS-ReliableMessaging 1.1 is the OASIS standardized version of the protocol for transferring messages reliably despite node or network failures.

ChannelFactory Contract and Generated Types

Last Monday we had an introduction to the contract associated with a ChannelFactory . Today's article is a tangential continuation of that discussion. Let's take a look at the typed version of the contract for the same echo service that we had before.
 
Page view tracker