Welcome to MSDN Blogs Sign in | Join | Help

October 2009 - Posts

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,

Ten More PDC 2009 Talks for Web Service Developers

I covered earlier the WCF and WF PDC talks that the team is doing, but there are many other groups coming to PDC to talk about web services. Here is a sample of ten of those other talks that I think WCF developers may find interesting. Developing REST
Posted by Nicholas Allen | 0 Comments
Filed under:

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: ,

.Net 4 Beta 2 Really Released

Although available for download by subscribers the last few days, the second beta release of .Net 4 is now available to everyone. You will see a number of new WCF features changed or moved around since the first beta release, but what you see now is almost
Posted by Nicholas Allen | 0 Comments
Filed under: ,

Visual Studio and .Net 4 Training Kit October Update

The training kit of materials for Visual Studio 2010 and .Net 4 has now been updated with the latest for beta 2. The contents of the training kit include presentations, hands on labs, and demos related to the new features in the release. Here's some of
Posted by Nicholas Allen | 0 Comments
Filed under: ,

ASP.NET MVC 1 Scripts on AJAX Delivery Network

Last week the AJAX script files included for ASP.NET MVC applications were added to the AJAX content delivery network . The content delivery network is a free service that provides caching support for some of Microsoft's AJAX libraries. As a developer
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: , ,

Web Service Technology Update with RIA Services

I've updated the WCF developer technology page with some of the ASP.NET MVC articles I've posted recently and also added another entry: .Net RIA Services. RIA Services are an application design pattern that live between ASP.NET and Silverlight in a multi-tier
Posted by Nicholas Allen | 0 Comments
Filed under:

Silverlight Documentation Refresh

The documentation for a published product periodically receives corrections and bug fixes in a refresh update that publishes many of the changes at once. On occasion there may even be new content added that was produced since the last release. Silverlight
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: ,

ASP.NET MVC 2 Preview 2

A second preview release of ASP.NET MVC 2 has been released, adding new support for extending client-side validation, metadata annotations, and model validation. I'll be updating the web service technology page later in the week to cover a new set of
Posted by Nicholas Allen | 0 Comments
Filed under:

Contract First Development through Schema

Christian Weyer and Buddhike de Silva have an article in this month's MSDN magazine covering contract-first development with WCF . They go over modeling messages and services through schema and then applying that to build a web service with WCF. They

Binary Encoding Exercise Answers

I've gone ahead and put the message in the exercise in a small test program to demonstrate how the server would handle it. To help you out I've reformatted the input to make the record boundaries clear although the server obviously wouldn't take notice
Posted by Nicholas Allen | 0 Comments
Filed under: ,
 
Page view tracker