Welcome to MSDN Blogs Sign in | Join | Help

May 2008 - Posts

MVC Preview 3

Earlier this week a new preview for the ASP.NET Model-View-Controller framework showed up on the web. For those of you that haven't heard of MVC before, it's a framework on top of the existing ASP.NET runtime that modernizes the ASP.NET development experience
Posted by Nicholas Allen | 0 Comments
Filed under:

Building with Encoders

The basis of a channel stack is that there is a series of objects that share a common interface for communication. This leaves message encoders with something of a problem as the primitive operations for encoding and decoding messages are different than

PDC Registration Open

The PDC 2008 conference registration site is now up and running. PDC is running this year from October 27th to 30th in Los Angeles, putting the countdown clock right now at a little over 152 days. There's already a preliminary session list available although
Posted by Nicholas Allen | 0 Comments
Filed under:

Finding the Service Instance

How do I get access to the service instance from inside of a service operation? Assuming that you're executing somewhere that a service operation is meaningful, you'll have access to the service operation context OperationContext.Current. From the service

When to Use Workflow

There's more than one way to work with workflow, which is why Windows Workflow Foundation and BizTalk Server are both tools for programming workflow applications. If you've ever wondered why there are two workflow products and which one to use, then read
Posted by Nicholas Allen | 0 Comments
Filed under:

Common Setup Tasks

I rarely need to set up machines often enough to remember the setup instructions and finding the documentation for setup sadly never seems to help. Lately I've been referring to the appendix on setup in Michele Bustamante's Learning WCF book when I need
Posted by Nicholas Allen | 1 Comments
Filed under:

Faster Known Types in Orcas

When I talked about some of the enhancements in Orcas, I left out a performance improvement for services that use a large number of known types. There are various ways of defining the known types for a service operation, and all of the known type collections

Avoid Exceptions in Faults

FaultException supports both an untyped variant, for when you don't have any particularly interesting detail to provide, and a typed variant, for when you do. Don't use a subclass of Exception as the type of a typed FaultException. Here's why. When you

Pointing to External Metadata

I've previously talked about using WSDL extensions to provide custom modifications to the WSDL import and export process. Making modifications to an existing WSDL document or to the existing WSDL processing is a great way to make small changes when the

Books Before Bytes

I noticed the other day that O'Reilly has a new book format for prerelease software that relies on planning for and making incremental updates as the software is developed. After the software is released, the prerelease book and all of its updates are
Posted by Nicholas Allen | 2 Comments
Filed under: ,

Customizing Proxy Configuration

In the past I've written about overriding ApplyConfiguration on a service to take control of the configuration process. There is a similar technique that you can use for client proxies although getting started is not quite as obvious. I'll talk today

Debugging Type Loading

Extensibility in configuration allows you to call out to types that you define for things such as behaviors, bindings, and channels. These type references are to fully qualified assemblies using information such as the assembly name, file path, code version,

Orcas SP1 Beta Released

Yesterday, a beta version of the first service pack for .Net Framework 3.5 was released including fixes and new features for WCF. The new features are primarily around serialization and tooling although there are enhancements scattered throughout many
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Disabling the Visual Studio Service Host

When debugging a WCF project in Visual Studio the WCF Service Host starts up to host my service. How do I stop this from happening so that I can use my own service host? One of the new tools in Orcas is the WCF Service Host that allows you to automatically
Posted by Nicholas Allen | 11 Comments
Filed under: , ,

Setting the Configuration Name

What's the difference between the Name and ConfigurationName on service contracts and behaviors? The Name property sets the name of the service in metadata while the ConfigurationName property sets the name of the service in configuration. Metadata is

WCF Silverlight Blog

I haven't had nearly as much time as I wanted to write about our efforts porting WCF to the Silverlight platform or tell you about what we've managed to build. I'm still planning to do feature highlight posts along the way but your best source of day-to-day
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Generating Types with Lists

I have a data contract that contains a collection type but the generated proxy appears as an array. How can I make the proxy use a collection type as well? I've talked in the past about how the representation of a type in metadata is decoupled from the

Updates to WCF Security Guidance

After the first announcement for the WCF Security Guidance Project , the amount of content has grown tremendously. Here's a summary of what's new over the last month. Seven new application scenarios: Intranet - Web to Remote WCF Using Transport Security

Private Data Members

Why does a data contract with private or internal members generate a proxy with public fields? The obvious answer is that the representation for data contracts doesn't contain information about member visibility but that just leads to the question of

Messaging Additions in Orcas, Part 4

Today wraps up the series on detailed messaging changes in Orcas. You can get the whole series here as well as the previous high-level overview of new Orcas features I did. Messaging Additions in Orcas Messaging Additions in Orcas, Part 2 Messaging Additions
Posted by Nicholas Allen | 1 Comments
Filed under: , , , ,

TIBCO Announces WCF Integration

At their user conference in San Francisco yesterday, TIBCO announced two integration initiatives to bring the TIBCO and Microsoft platforms closer together. TIBCO is developing a TIBCO EMS transport channel for WCF. Although Microsoft doesn't have a formal
 
Page view tracker