October 2008 Entries


Here at PDC, Los Angeles, there is one thing for sure.  ASP.NET Sessions are overflowing invariably across all days.  Yes!  There are way too many exciting things that I can cover over a single post and in this short duration that I wanted to keep them off until I am back.   Quick announcements.

ASP.NET Builds on various features such as Dynamic Data, MVC, Astora, AJAX & Futures are available at CodePlex 

ASP.NET 4.0 Roadmap provided insight into the features considered for the upcoming version.  To name a few

i. jQuery support built-in to Visual Studio

ii. MVC Built-in

iii. Enhancements to Webforms

iv. New deployment features (Visual Studio)

v.  Dynamic Data for Business Objects

Would write about each of the above on separate posts to follow.

Till then, if you arent able to attend PDC, and want to catch up with the action, visit for live sessions, recorded videos, downloads and latest updates.

Cheers !!!

Windows Azure

Here I am at PDC, Los Angeles Convention Centre and Ray Ozzie, Chief Software Architect, Microsoft, just announced that the new Windows on the Cloud named as Windows Azure.  Windows Azure is the windows on cloud which offers additional services such as Live Services, SharePoint Services, SQL Services (Formerly SSDS) and a few other services offering a complete cloud platform.

Windows Azure is a services platform for development, application hosting & service management on the cloud that businesses can leverage.

More information on Windows Azure at

Updates on Windows Azure 

Cheers !!!

ASP.NET Webform’s DefaultButton to handle enter key

This is a video version of an article I had written earlier around handling enter key with the ASP.NET Webform’s DefaultButton property.  So its quite old and a feature of ASP.NET 2.0 but works fine with 3.5 version as well.

Note: In the master page scenario at the end of the video, the code this.form1.DefaultButton = Button1.UniqueID needs to come in the Page_Load event and not inside the button click event.  I just typed the syntax there.

Click here for a text version of this article




Silverlight 2, Visual Studio 2008 - "Object reference not set an instance of an object error"

After installing the latest SL 2 bits as well as the SL 2 Templates for Visual Studio 2008, when you create a new Silverlight Application, you might receive the error "object reference not set an instance of an object".  You might also receive the error "This type of project is not supported in this installtion" error.

This can happen basically if you have the SL 2 Beta 2 templates for VS 2008 or the Beta 1 templates.  In my case I removed the Beta 2 bits but I still received the error while trying to create a new Silvelright Application.

The resolution for that was to run the devenv /resetskippkgs from the command prompt.

Brad has an excellent post covering the common errors you might encounter when creating a Silverlight project using Visual Studio 2008.  Though most of them are refering to the SL 2 Beta 2 bits, they hold good for the RTM Bits as well.

Cheers !!!

Silverlight 2, Expression Blend 2 SP1 & Expression Blend 2.5 June 2008 Preview

While the news that we released Silverlight 2 today, is kind of generating the energy and almost all top blogs talk about it, I wanted to share a few things that might be useful for you as a designer / developer in getting started with the bits.

First off, let me share installation tips.

  • Remove the SL 2 Beta 2 Version (not mandatory but nice to do)
  • Remove Expression Blend 2.5 June 2008 Preview.  (This is Required !  The Blend 2.5 June 2008 Preview stops you from installing the updated bits for working with Visual Studio 2008)
  • Remove the SL 2 Beta Tools for Visual Studio 2008 / Beta 2 SDK
  • Remove any other version of SL 2 Beta, related bits installed
  • Install Silverlight 2 from
  • Install Silverlight Tools for Visual Studio 2008 SP1 from (Works with Visual Web Developer Express Edition as well, making SL Development completely free)
  • Install Microsoft Expression Blend 2 if you haven’t installed it already (You can install a 30 Day trial version from for free)
  • Install Microsoft Expression Blend 2 Service Pack 1 (Important, this SP1 update helps Blend 2 target SL 2 Apps)
  • Install Deep Zoom Composer from

In short, the Expression Blend 2.5 June 2008 Preview is no longer recommended and the features that were therein to support SL 2 Beta 2 are all now part of Expression Blend 2 Service Pack 1You cannot have a side by side installation of Expression Blend 2.5 June 2008 Preview and Expression Blend 2 SP1.

Again, you can download the SP1 from

If there are more questions around Expression Blend, check the FAQs at

For a list of breaking changes from Beta2, RC to here, check Tim Heuer's Blog Post

Also, Scott Gu's blog post provides more useful information as well.

Pandurang Nayak  has been posting a lot of stuff around Silverlight and you may want to check it out as well.

Cheers !!!

PDC 2008 The most exciting Professional Developers Conference

Well, you heard it right.  PDC 2008 scheduled for Oct 27 - 30 at the Los Angeles Convention Center is one of the most exciting Microsoft technical event delivered right by the product teams who are just waiting to show to the world, what they have been working on over the last 2 years. 

One of the important announcements at PDC would be Windows 7, the next version of Windows Client Operating System and the Cloud platform that we have been working on.   Not to mention, some of the cool stuff around the Live Platform, Silverlight & WPF.

There are keynotes by Scott Guthrie, Bob Muglia, Ray Ozzie and other great speakers lined up with interesting sessions, demos & what not?

If you havent registered yet for PDC, here is a great opportunity to register for the same.  Please visit

Not to mention, it is a paid event and justifies it too.  Never elsewhere you get to see the next array of of our releases and this time, you also get a 160GB USB Hard Drive with all the bits that you see out there.

You can catch up with questions regarding PDC at  Worth spending some of your time for the great experience.  Also, you can catch up with the live blog posts on all the plan and action for PDC at

Last, but probably, an useless bit of information is that, I am attending PDC as well this year.  So, if you happen to be there, I would be glad to catch up with you.

Cheers !!!

Outlook - Disable Desktop Mail Alert Notification

UPDATE: October 8, 2008

If you are using Outlook 2003, 2007 you would have experienced the Desktop Mail Alert that comes up when a new email is received.  It typically shows up in the right bottom above the system tray.

While it is very useful to get a glimpse of the content as well as decide on whether to read the email or not, it can take up memory resources and occasionally make Outlook hang, particularly if you are parallelly running memory intesive applications such as Visual Studio, a few Excel files etc.,. I wanted to get rid of the Desktop Alert thing for obvious reasons and found it little tricky to figure out.

It is in Tools - Options - Preferences - Email Options - Advanced E-mail options - Display a New Mail Desktop Alert (default Inbox only).  Uncheck it if you wish to disable the Desktop Alert.

Of course, you can also turn it off by clicking on the options when the actual Alert comes up and say Disable Desktop Alert

You can also turn if off by right clicking on the Outlook Icon in the System Tray and un-select  Show New Mail Desktop Alert.  Thanks to "ET" for the useful comment, reminding one more option.

And it is well documented in but my idea of this post it to share the experience.  After removing it, relatively the performance has been good.

Cheers !!!