Welcome to MSDN Blogs Sign in | Join | Help

July 2008 - Posts

StockTrader 2.0 Sample

The .NET StockTrader was an end-to-end sample application released last year to demonstrate WCF and web service programming. A new version of StockTrader has been released to update the application with some of the new features in Orcas and Windows Server
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Avoiding Address Filters

The address filter mode that we looked at last time solved the problem of funneling all of the messages with a given prefix address to our service instance. Changing the filter mode still left us with the problem of dispatching from that universal contract

Web Address Filters

Here is a basic service that defines a universal contract to program against for building a simple HTTP application. The service doesn't do anything, but you can ignore that in this example. [ServiceContract] public interface IService { [OperationContract(Action
Posted by Nicholas Allen | 1 Comments
Filed under: , , ,

WCF Debugger Visualization

A few weeks ago Eyal Vardi left a comment on an article about tools mentioning his WCF debugger visualizers. A debugger visualizer is an extension to Visual Studio that drops in a custom user interface for visualizing types. These custom interfaces can
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Reader Trends

A few of the more noticeable changes in this week's site design might prompt some questions as to how the Web audience is evolving over time. I thought it would be interesting to take a look at the actual numbers that back up reader's requests and complaints

Trusting IP Addresses

How do I find the address of a client connection to make a trust decision? Don't base security decisions on the perceived client address. Any address that we have comes from the underlying socket implementation and could be spoofed. The data that the

Help with Security Programming

Security programming today tends to contain large amount of plumbing code to handle the modeling, management, and evaluation of identities. An identity is the basis of many common security operations, such as authentication, personalization, authorization,

Standards Guide

Looking for a guide to all of the web services protocols implemented by WCF? There's no single document that captures all of the information, but there is a group of documents that talk about the implemented protocols and some of the choices in those
Posted by Nicholas Allen | 2 Comments
Filed under: , , ,

Annual Site Redesign

I don't actually promise to update the design every year but it makes it sound more exciting- as if there's some kind of recurring event that people might look forward to. This year's design focused on improving content readability. I removed some of

Finding a Client Channel

Where can I get the IContextChannel that OperationContextScope requires? OperationContextScope allows you to create a temporary scope in which context for a service operation can build up before and after the operation is actually called. The constructor

XQuery 1.1 Draft

A working draft for a 1.1 revision to XQuery went up earlier this week. The changes from XQuery 1.0 (which was finished just last year) to XQuery 1.1 appear to be small. There are two additional operators for grouping and windowing over a data stream.
Posted by Nicholas Allen | 1 Comments
Filed under:

Conversation with the C# Team

Channel 9 posted a video a few days ago with the C# 4.0 design team talking about some of their motivations and ideas for language design. I tend to enjoy the videos like this one that are focused on the people a lot more than the ones that are focused

Hosting Queued Services in IIS

Over the past few days Tom Hollander has been posting his experiences hosting a queue-based WCF service in IIS. These posts go into a lot of detail about setting up the machines, configuring the service, and troubleshooting problems. If you're looking
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Architect Insight Conference Talks

Slide decks are available from the Architect Insight Conference 2008 held in the UK at the end of April. These talks are fluffier than ones that I normally point to and since you only have the slides and not the audio, I recommend picking a few based

Naming Contracts for Versioning

Some tips for building support for versioning into the naming of data contracts. First, the primary route for versioning should be through the namespace part of the contract rather than the member name part of the contract. Versioning the contract through

Transaction Header Magic

Simplicity is elusive. A few weeks ago I learned that part of transaction flow, propagating information about the source machine between the client and server, is more complicated than I thought. It's not that the details were inherently complicated but
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Configuring SSL Host Headers

Host headers in IIS are a way to associate multiple names with a single address. The typical use of host headers is to be able to host more than one web site at a single IP address by giving each of the web sites a distinct DNS name. Host headers also

Adding Headers to a Call (HTTP Version)

Yesterday I talked about adding SOAP headers to an outgoing request using a variety of different methods. The most straightforward method was to create an OperationContextScope in your application code to establish an OutgoingMessageHeaders collection.

Adding Headers to a Call

How do I add SOAP headers to an outgoing request? There are a few different ways to add headers to a message depending on how you need to control the header content and where you need to insert the header. I like to think of these methods as being split

PDC Sessions Round 2

The PDC website is doing a monthly countdown to the event by publishing session abstracts as they lock down. The July update is the second in this series and adds 16 new sessions to the list, including two on workflow. Workflow Foundation: Futures The
Posted by Nicholas Allen | 0 Comments
Filed under:

Timeout Error Messages

You will sometimes get an error message that mentions a timeout value. You can recognize these error messages by virtue of their containing a long and boring string of text followed by some numbers. The socket connection was aborted. This could be caused
Posted by Nicholas Allen | 1 Comments
Filed under:

Web Service Webcasts in July

Four more webcasts are coming this month to talk about some of the new web service features in Orcas. Each webcast is aimed at developers and lasts 60-90 minutes. Transactional Windows Communication Foundation Services with Juval Lowy (Level 200) Monday,
Posted by Nicholas Allen | 1 Comments
Filed under: , ,
 
Page view tracker