Welcome to MSDN Blogs Sign in | Join | Help

May 2007 - Posts

Just the Headers

How do I change the HTTP status code of the response that is sent back when using a one-way contract? The result of using a one-way contract is to automatically send back an empty HTTP response when the service method is called. Sending back this response
Posted by Nicholas Allen | 6 Comments
Filed under: , , ,

WSDL 2.0 Proposed

More than six years after the submission of WSDL 1.1, parts of a new version of WSDL have reached the Proposed Recommendation stage. WSDL is the common definition language for abstractly describing web services. Reviews of the proposal will continue through
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Quantifying Readers

I have many tools for measuring and analyzing reader habits. I'm not sure if this is actually a good use of time. I don't think any of the tools give me particularly useful information that I can trust. For example, MSDN gives me both continuous counts
Posted by Nicholas Allen | 0 Comments
Filed under:

Close Your Proxies

Hey! Call Close on your client proxy objects once you're done using them! This is always a good idea, but it's a tremendously good idea when using sessionful channels. Your client takes up resources on the server until you either close the proxy object
Posted by Nicholas Allen | 5 Comments
Filed under:

TechEd World Tour

After TechEd goes to Orlando, there's still more to come. I hope no one actually has to travel to all the stops. It would be a really long trip. United States: Orlando, June 4-8 India: Mumbai, June 13-16 Australia: Queensland, August 7-10 New Zealand:
Posted by Nicholas Allen | 0 Comments
Filed under:

Security Failures as SYSTEM

The following error is one that could be commonplace at any time during the last ten years. "SSPI negotiation has failed". "Login failed for user NT AUTHORITY\ANONYMOUS". My service isn't running as an anonymous user. Why isn't it able to connect? There
Posted by Nicholas Allen | 2 Comments
Filed under: , ,

Upcoming Webcasts

Here's a selection of webcasts over the next two weeks that I thought you might be interested in. The majority of these are going to be done in association with the online presence of TechEd this year. MSDN Webcast: Applying Service-Orientation to Your
Posted by Nicholas Allen | 0 Comments
Filed under: , ,

Replacing the Serializer, Part 3

Since we've spent some time talking about what doesn't work with serializers, let's look at some techniques for using an alternative serializer that I believe do work. At least, I don't know of a reason why these techniques don't work. You may find a
Posted by Nicholas Allen | 1 Comments
Filed under:

Replacing the Serializer, Part 2

Last time on the topic of serialization, we were looking at some issues with commonly replicated sample code for preserving object references . Another bit of serializer sample code that gets linked to frequently is Aaron Skonnard's article on an attribute-based
Posted by Nicholas Allen | 1 Comments
Filed under:

Channel 9 Videos

When I was doing release announcements a few weeks ago I meant to include some of the video interviews related to the projects in addition to the project descriptions and download links. Better late than never. S. Somasegar talks about Orcas Beta 1 Scott
Posted by Nicholas Allen | 0 Comments
Filed under:

Client IP Address

Can I get the IP address of a client connecting to my service? No. Sorry. In most cases this information is not available. Exposing such functionality is left to the transport to be done in an implementation-specific manner. The most popular transports
Posted by Nicholas Allen | 9 Comments
Filed under: ,

Replacing the Serializer, Part 1

A natural progression from yesterday's article about creating a new serializer is to put that serializer into the message processing pipeline. There have been several people that have already described how to do this. It's evidently not too uncommon.
Posted by Nicholas Allen | 3 Comments
Filed under:

Serializing Object Graphs

How do I write out an object that contains a reference to itself? Using the default options with the standard serializer for data contracts gives you a configuration where object references are replaced by an actual instance of the object being referenced.
Posted by Nicholas Allen | 4 Comments
Filed under: ,

Vista Ship Gifts

Larry Osterman has written about the collection of small gifts that were given to people who worked on Windows Vista. WCF was included as a Windows component but we've been lagging behind on the gifts. They have been trickling in for a few months now.
Posted by Nicholas Allen | 0 Comments
Filed under:

XML Processing Instructions

How do I control the generation of XML processing instructions during serialization? XML processing instructions include the little bits at the top of an XML document that are meant to describe how the XML document is to be handled. These processing instructions
Posted by Nicholas Allen | 2 Comments
Filed under:

Streaming and ToString

WCF supports message transfers using either a streamed or buffered data model. A buffered model uses contiguous blocks of memory to store the data. A streamed model provides an extra layer of indirection to buffers. The streamed model uses an interface
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Epigrams from Alan Perlis

Today's post was supposed to be a response to the article last night by Jeff Atwood on programming quotations. Evidently I screwed things up by trying to insert it too close to the regular posting time. Since this is an off-topic post, I'll just run it
Posted by Nicholas Allen | 0 Comments
Filed under:

Optimizing MSMQ

How can I speed up message processing when using MSMQ with WCF? For small gains, it is generally possible to eke out a few percentage points of performance by tuning parameters and settings according to the application domain knowledge you have. For large

The Try-Catch-Abort Pattern

The simplest programming patterns are those that don't require a lot of thought to apply the pattern. The way that you can get to one of these simple programming patterns is to smooth out the rough edges until almost every interesting case can be handled
Posted by Nicholas Allen | 2 Comments
Filed under:

Getting Orcas Beta 1 Samples

It feels like there have been a lot of these announcement posts lately, but that's because a lot of software is getting released. This online release of the Orcas samples should take care of everything relevant to WCF developers that has come out in the

Astoria and Jasper

Astoria and Jasper are two project announcements that have been somewhat overshadowed by all the attention that Silverlight is getting. Both projects are related to ADO and data services although they have a very different focus. Astoria is a service
Posted by Nicholas Allen | 0 Comments
Filed under:

TryReceive and Exceptions

After an earlier article about receiving messages , Kenny Wolf suggested that I talk about the exception model for TryReceive. As you'll recall, Receive works by waiting for a message and then throwing an exception if no message arrives. TryReceive uses
Posted by Nicholas Allen | 2 Comments
Filed under: ,
 
Page view tracker