Welcome to MSDN Blogs Sign in | Join | Help

February 2008 - Posts

Runtime Limits in IIS

Does the IIS HTTP runtime configuration affect a WCF application? Yes, when the application is using IIS to host its HTTP endpoints. A WCF application that lives in IIS is an IIS application as well, even if you aren't explicitly using ASP.NET compatibility
Posted by Nicholas Allen | 2 Comments
Filed under: , , ,

TechEd Developer 2008 First Looks

I noticed the other day that the TechEd sites have started getting an extensive collection of session titles although it looks like no other descriptions are available. I'm just taking a guess about what most of these talks are going to be about, but
Posted by Nicholas Allen | 0 Comments
Filed under: , ,

Silverlight 2.0 Beta is Coming

Scott Guthrie revealed details about the Silverlight 2.0 release last week including that a public beta is coming soon. Here are the details that you probably care about: The full download for the Silverlight beta release is a bit more than 4 MB Silverlight
Posted by Nicholas Allen | 2 Comments
Filed under: ,

Using Call Context Initializers for Culture

Let's build on a few earlier samples to actually demonstrate a working call context initializer. I'll start with yesterday's skeleton for a call context initializer and behavior . To that skeleton I'll add implementations of BeforeInvoke and AfterInvoke

Using Call Context Initializers for Cleanup

I'm using framework features that have thread-local settings. These settings then get leaked to other client calls. How can I stop this from happening? The problem here is that WCF doesn't know about these thread-local setting changes that you've made

DataMember Best Practices

I was asked to share a list of best practices I wrote for data contracts and data members so here it is: Do apply the DataMember attribute only to properties rather than the corresponding fields. Do not use type inheritance to version a data contract.

Getting Started with WCF and WF in VB

Many of the concepts in WCF and WF are language independent but it's hard to get a practical description of building services and workflows without making some assumptions about programming languages and tools. Much of the product documentation is available
Posted by Nicholas Allen | 1 Comments
Filed under:

Embedding Arbitrary XML in Faults

How can I directly craft the XML content that goes into a fault detail? Getting control over the detail element doesn't have to mean crafting the fault message yourself. While WCF requires that the fault detail be serializable using a data contract, remember

WCF Content at MIX

If you're planning to attend MIX next month with an interest in WCF, look for these sessions in particular: Creating a RESTful API with Windows Communication Foundation Speaker(s): Viphak Lay, Haider Sabri, Paul Walker Learn how MySpace used Windows Communication
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Scopes of Encryption

This article is primarily an introduction on protecting message data since the topic overall seems to cause some confusion. The source of confusion is what it means for a service to define a contract for protecting data. Data protection flows from two

Augmenting Security Requests

How can I add some additional information to the request when contacting a token server? Looking at the schema for a RequestSecurityToken message, there clearly is some extensibility space intended for providing additional information in the request.

DinnerNow 2008

DinnerNow is a sample restaurant marketplace application that demonstrates many different Microsoft web service technologies. You may have seen the application distributed as a standalone sample as well as appearing in many hands-on labs and booth demos

Differences in Enum Serialization

Why does adding an enum parameter to an operation cause the proxy to explode into message contracts? This was a question asking why the following perfectly ordinary operation contract caused svcutil.exe to spit out some really ugly code. [OperationContract]

10 Years of XML and More Still Coming

Over the weekend XML 1.0 turned 10 years old from the day it was first accepted as a W3C recommendation. It started as a subset of SGML that allowed generic document content to be served and processed over HTTP. It's now used for everything, including

Windows Server 2008 (and Orcas) SDK Released

Last week the final version of the Windows Server 2008 SDK went online. If you've been using the beta SDK releases for Orcas samples or tools, then this is the version of the SDK that you'll want to install. Here are the links to the download materials:

Producing Typed Messages

How do typed messages get created from an object that has a message contract? There seem to be a lot of examples that talk about how messages get produced when they're described by data contracts but relatively few descriptions of the equivalent process

New Toy MSDeploy

The IIS team has released a preview version of a new tool for synchronizing, migrating, and deploying web sites hosted in IIS. This looks like something that could turn into a real time saver and prevent some pretty nasty headaches with IIS configuration
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Scott Guthrie Talks MIX

Channel 9 has a new video interview with Scott Guthrie talking about IIS, MIX, Silverlight 2.0, and other topics. The interview is split into two parts although it's really the same conversation. Scott Guthrie: What's Coming for Mix, Part 1: IIS7 for
Posted by Nicholas Allen | 0 Comments
Filed under:

Building on Custom Cookie Handling

By request I expanded the code in the earlier article on custom cookie handling to show a more interesting sample. This time I illustrated making the initial request and capturing a cookie rather than echoing a cookie that the client already had. This
Posted by Nicholas Allen | 2 Comments
Filed under: ,

TCP Throttling

As I mentioned on the 30th anniversary of IP , an early and fundamental split was made in TCP to distinguish point-to-point messaging from end-to-end messaging. The split is based on a philosophy that the communication endpoints should be in control and
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Programming for the Web in Orcas

Steve Maine has put together an index of documentation for all of the new WCF web programming features in Orcas. This includes the support for: JSON RSS and Atom syndication feeds URI templates HTTP enhancements As well as features that web developers
Posted by Nicholas Allen | 1 Comments
Filed under: , ,
 
Page view tracker