Welcome to MSDN Blogs Sign in | Join | Help

Indigo (RSS)

Interfaces Lack Data

Why does having two known types blow up for being conflicting data contract types if the types are two different interfaces? An interface only contains declarations for its members. The interface doesn't contain any data fields and any implementation

Breaking Changes for WCF in .Net 4 Beta 2

Available for download is the list of breaking changes between beta 1 and beta 2 for WCF and WF . To save you some time, here's my condensed version of the list. When adding site or machine-level collections of behaviors, those behaviors will be merged
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Building a Data Contract Serializer Behavior

In configuration there's a DataContractSerializer behavior that I can add to my service, but the class it uses is internal. How do I get the same behavior programmatically? The DataContractSerializer behavior is a shortcut for setting the MaxItemsInObjectGraph

Federating from Silverlight

I've had a few people ask whether the WCF subset in Silverlight supports message-level security. The answer currently is not very much. The security support is limited to basically the facilities that you'd expect to have for any other browser based application,

Finding CLR Types from Schema

How can I found out what CLR type a particular XML schema definition will map to when using data contracts? Ask the type system what type it thinks the schema will map to. static string ClrTypeForXmlType(XmlQualifiedName xmlType) { return new XsdDataContractImporter().GetCodeTypeReference(xmlType).BaseType;

Application Auto Start in IIS

Application auto start is the ability for an application to be automatically started up before receiving any requests. In addition to priming the application for the first request, application auto start is also a way to have applications that start automatically
Posted by Nicholas Allen | 0 Comments
Filed under: ,

WCF Samples for .Net 4 Beta 2

The Windows SDK samples for WCF and WF are now available updated for .Net 4 Beta 2. These are only the samples that are new or changed in .Net 4. If you want the complete set of existing samples as well you'll need to pick those up from the platform SDK.
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Order Best Practices

Why is setting the Order property on data members recommended when adding fields in a new version of the contract? The data contract versioning best practices recommend taking three steps when adding fields in a new version of a contract. The first recommendation

Four Weeks between Now and PDC 2009

There are four more weeks between now and the start of PDC the week of November 16th. Registration can be done through the main PDC site. The details of the sessions are now almost all completely published and there are six sessions on tap covering WCF
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Transfer Modes and Buffer Sizes

Why do only some of the bindings allow setting a MaxBufferSize? The maximum buffer size and the maximum received message size are in many ways linked together. If the message is being transferred in a single buffer, then it only makes sense for the largest
Posted by Nicholas Allen | 0 Comments
Filed under: , ,

WCF Case Studies Year 3

Two and a half years ago I put together an initial list of case studies involving WCF from the Microsoft case study site. Yesterday I covered the year past the initial list and this time I'll go one year farther. Today's list covers roughly a year starting
Posted by Nicholas Allen | 0 Comments
Filed under: , ,

WCF Case Studies Year 2

Two and a half years ago I put together an initial list of case studies involving WCF from the Microsoft case study site. I thought I'd give an update to gather together a list of case studies published since then. Today's list covers roughly a year stretching
Posted by Nicholas Allen | 0 Comments
Filed under: , ,

Nothing to See Here

What is the System.ServiceModel.Channels.NullMessage used for? The Message class is a central abstraction for representing communication between two endpoints. There's often interesting information associated with a message, such as the message delivery
Posted by Nicholas Allen | 0 Comments
Filed under: , ,

PDC 2009 Plans

Several new PDC sessions were published recently including one session that I'll be delivering. Application Server Extensibility with Microsoft Project Code Name “Dublin” and Microsoft ASP.NET 4 by Nicholas Allen ASP.NET 4 and “Dublin” provide new application

Binary Encoding, Part 7

For the last part in the binary encoding series I'll cover how the use of the string table changes when the encoder is used in a sessionful manner. Here now are all of the past entries in the series: Binary Encoding, Part 1 Binary Encoding, Part 2 Binary
Posted by Nicholas Allen | 0 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker