OK, so better later than never! Somehow I missed the automatic properties feature of C# 3.0, and just discovered it while I was reading up on something unrelated. It’s a nice feature of C# 3.0 that saves you a few key strokes hence enhances developer productivity as well as allows for more clear and concise code.
Using this new feature, instead of defining private variables and creating explicit getters and setters, you can create properties like this:
public class Employee
{
public string ID { get; set; }
public string LastName { get; set; }
public string FirstName { get; set; }
}
The first version of Silverlight (formerly WPF/e) was recently released and can be downloaded from Microsoft’s web site.
Contrary to what many people believe, Silverlight is not simply a rich media player for the web. Nor is it just a replacement or a competing product for Adobe Flash. Silverlight is a technology that allows developers to deliver Windows-like rich user experience to the web. This includes animations, vector graphics, music, movies, etc., but it also includes the ability to develop WinForms-like applications with grids, treeviews, toolbars, and so on and so forth.
To get started with Silverlight, checkout these videos, or see this demo by Scott Guthrie and Jason Zander on the .NET Show. If you are looking to develop a WinForms-like user experience, you may also appreciate GOA WinForms which is an implementation of standard System.Windows.Forms .NET library for both Adobe Flash and Silverlight.
If you run Visual Studio 2005 Extensions for Windows Workflow Foundation setup from a folder that already contains a setup.exe, your old setup.exe may run giving you the illusion of installing the WWF extensions. When you open up a WF project in Visual Studio 2005, you may receive an error message stating “Project type is not supported by this installation”. To correct this problem, run the extensions setup from a folder without any other executable (or at least without any setup.exe files).
Last week Microsoft officially released .NET Framework 3.0. .NET Framework 3.0 is the latest managed code programming model for Windows. It combines the power of the .NET Framework version 2.0 with new technologies for building applications that have visually compelling user experiences, seamless communication across technology boundaries, and the ability to support a wide range of business processes. These new technologies are Windows Presentation Foundation, Windows Communication Foundation, Windows Workflow Foundation, and Windows CardSpace.
The .NET Framework 3.0 is included as part of the Windows Vista operating system. If you are using Windows XP or Windows 2003, you can download the latest framework from Microsoft at: