Welcome to MSDN Blogs Sign in | Join | Help

September 2007 - Posts

Windows SDK Released for Beta 2

The Windows SDK (formerly Platform SDK) is now available in an iteration that supports our Orcas Beta 2 release of the .NET Framework as well as the latest release of Windows Server 2008. Here are the direct downloads to the pieces: Windows SDK for Windows
Posted by Nicholas Allen | 1 Comments
Filed under: ,

SVC Files and Services

IIS uses the file extension to register behaviors that take place when a particular address is requested. WCF registers one of these extensions (by default, it's *.svc) to run a build provider that takes care of executing a WCF service for a given URL.
Posted by Nicholas Allen | 0 Comments
Filed under: ,

What is an ESB?

What does the term ESB- Enterprise Service Bus- actually mean? That question has been the topic of an ongoing debate for several years now that doesn't seem to have any sign of stopping. When I first read about ESBs in 2003, I didn't expect to still be
Posted by Nicholas Allen | 0 Comments
Filed under:

When to Use Remoting

One of the things that happens when a new technology framework is introduced with new patterns and best practices is that people wonder what's going to happen with the frameworks that they use today. When WCF was announced a few years ago, users of Remoting

Multiple Web Site Bindings

I've configured my web site in IIS with multiple bindings but my web service can no longer run because it refuses to start if there are multiple base addresses defined for the same URI scheme. How can I use the same configuration for both my web service

Astoria Updated for Orcas Beta 2

After installing the most recent preview version of Orcas back in July, I noticed that Astoria was not running quite as healthily as it used to. You could say in fact that it was not running much at all. Fortunately, the Astoria team has put out a new
Posted by Nicholas Allen | 1 Comments
Filed under:

Default SPN

What happens if I don't specify an EndpointIdentity for an EndpointAddress? I'm supposed to provide one for the domain account of my service. Well, it might work. If you don't explicitly specify an endpoint identity, then by default we'll use host/machinename

AfterInvoke Must Run

During the last series of articles when I covered call context initializers I was primarily talking about what happens when things go right. Due to the nature of the task, the call context initializer extensibility point is very fragile. The thread context
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Tradeoffs of IIS Hosting

Another one of those rules of thumbs that I hear often quoted but rarely demonstrated covers the performance of hosting a web service in IIS. Running a WCF service host in IIS is going to be more expensive than running that same service host in your own
Posted by Nicholas Allen | 7 Comments
Filed under: ,

Further Adventures of Don't Run as Administrator

Jonathan Allen of InfoQ took the time last week to bring up some points about my earlier article on not running as Administrator . I thought that there were two issues brought up that were worth going into more detail about. The first issue is about the
Posted by Nicholas Allen | 2 Comments
Filed under: ,

Turning Off Principal Handling

I'm setting up a custom principal for the current thread based on the received messages, but the principal gets reset before the service operation is called. How do I stop this from happening? What's likely happening here is that the PrincipalPermissionMode

Address Filters that Swallow GET

Many services consist of more than one message processing strategy. Typically, you think of services as being represented by their application endpoints. When the service receives a message, the decision to route the message to one of those endpoints

Configuring TCP Activation from the Command Line

Can I configure non-HTTP web service activation from the command line? Yes, and you don't need any special tools if you're already familiar with configuring IIS from the command line. I've already talked about how to configure a new web site or application
Posted by Nicholas Allen | 4 Comments
Filed under: , , ,

Design History of Communication Objects

A common question about why so many classes implement ICommunicationObject requires a bit of a side trip into design history. The role of ICommunicationObject is to provide a common state machine across many different objects. That state machine has no
Posted by Nicholas Allen | 2 Comments
Filed under:

More about Client IP Addresses

Back in May I talked about the problem of getting client IP addresses , which you don't have any good way to solve today in WCF. There were a lot of strong comments on that post that this was a feature that people really needed. As it turns out, this

WCF Performance Comparisons

Since the last pair of performance comparisons, I've had a few people ask for similar comparisons between WCF and other products. Unfortunately I have neither the time nor the interest to setup and run all of these benchmarks. Instead, I'll point anyone
Posted by Nicholas Allen | 1 Comments
Filed under:

Don't Run as Administrator

I want to run this post as a reminder to people building and deploying services. I see people deploy services that require access to a restricted resource. The most common restricted resource is the ability to register a listener on part of the HTTP namespace
Posted by Nicholas Allen | 2 Comments
Filed under: ,

WS-Addressing Metadata and WS-Policy Completed

Two new standards were published yesterday by W3C that cover various aspects of web service metadata. WS-Policy is one of the family of general mechanisms used to describe service requirements and capabilities. Policy attachments supplement the general

Metadata is Locked

Why aren't the changes that I programmatically make to the service contract reflected in the downloaded metadata? This is another common question around the confusion between the design time behavior and run time behavior of the system. The configuration
Posted by Nicholas Allen | 2 Comments
Filed under: , ,
 
Page view tracker