Avalon and Indigo Community Technology Preview – March 05

The Avalon and Indigo Community Technology Preview – March 05 is now available to MSDN subscribers (Tools, Platform Tools, WinFX SDK). “Avalon” is the code name for Microsoft’s unified presentation subsystem for Windows, consisting of a display engine and a managed-code framework. It unifies how Windows creates, displays, and manipulates documents, media, and user interface,…

ASMX 2.0 – Nullable Types

ASP.NET Web Services (ASMX) in .NET 2.0 introduces support for nullable types. In .NET 1.0 and 1.1, the framework didn't support xsi:nil for value types because, as we know, value types can't be set to null. This commonly caused interop problems, particularly with J2EE applications. The following simple web service shows how a method with…

Nullable Types

A common problem that developers run into with .NET v1.1 is the situation where you want a value type such as an int or bool but you want to allow for the value to also be undefined or null. For example, data coming from a database might not have a value define for one of…