A Ship-It Award!

I’ve been waiting for this for a very long time.  I’ve only been with Microsoft for 18 months and it has been a blast.  Great people to work with, great technology and an incredible area.    I received my first Ship-It award.   I don’t think I can mention the product yet, but here’s a picture.  Wow.
 
FirstShipIt
 
All you coders out there.  If you keep learning and strive to be better and better developers, your day will come.  Trust me.
 
Happy Coding!
Posted in Development | Leave a comment

Secure Cross-Domain Communication in the Browser

With v2.0 Silverlight gaining momentium, features and fixes, the rest of us still working in v1.1 are still fighting the ‘alpha’ code.    One of the problems in v1.1 is secure cross-domain communication in the browser.   Danny Thorpe wrote a great article in The Architecture Journal that not only gives you a good understand of the problem space but also a workaround for v1.1.  Very well written.
 
Happy Coding.
 
Posted in Silverlight | Leave a comment

Silverlight 2.0!!!

I do NOT know how I missed this announcement!!!  This is huge!  This means that they are one step closer to release!  Silverlight 1.1 Alpha is now Silverlight 2.0!!!!!!!!!!
Posted in Silverlight | Leave a comment

Programmer’s Guide for Virtual Server 2005

Thanks so much to Ben Armstrong from the Virtualization team for emailing me the link to the elusive Programmer’s Guide for Virtual Server 2005.  It would seem the docs are still there, just not as easy to find.  There are also some great script samples in the repository to show how to work with the COM API.  I’m playing around with it now and will let you know what I find.
 
Oh, and yes I could have installed Win08 RC1 and tried the the new Hyper-V, but I had other requirements that dictated Virtual Server ’05.  Maybe next time. 🙂
 
Mark H.
Posted in Virtualization | Leave a comment

Just 58 more days…

Just 58 more days until the 2008 Global Launch Wave!
    • Windows Server 2008
    • Visual Studio 2008
    • SQL Server 2008

Just like a belated Christmas!  So many toys in each!  It’s going to shake up the computing world!

Happy Coding!

 
 
Posted in Development | Leave a comment

Microsoft Virtual Server 2005 RC2

Be forewarned people!  Microsoft Virtual Server 2005 RC2 is apparently on its way out.  I just tried to look at the COM API for VS05 and it is NOT to be found!!!  Virtualization is going to be built-in to Microsoft Windows Server 2008 so I’m guessing that they want people to migrate.

Posted in Uncategorized | Leave a comment

Windows Live Platform

Microsoft doesn’t always communicate their visions clearly (take .Net for instance).  The Microsoft Live Platform is another one of Microsoft’s great visions that encompass so much that it’s difficult to understand it in its entirety.   There is just so much great stuff that it’s confusing to know how you can apply it to what you’re doing.  Over the course of the past two months, Microsoft has put together some great MSDN Webcasts that really explain what makes up the Windows Live Platform and how you can take advantage of it.  These Webcasts are  level 300 courses and are understandably web developer oriented.  The audio is not great but the information in them is invaluable!!!!  Just go to the MSDN Webcast site and look for “Windows Live Platform Technical Drilldown”.  There are four parts.  Enjoy!

 

Happy Coding!

Posted in Uncategorized | Leave a comment

A better way to do Singletons

In a recent class I was taking, Jeffery Richter was teaching another class next door.  My instructor was commenting on how good Jeffery’s Threading class was.  And one of the things he shared from that class was about Singleton initialization.   Most of the time when you see singletons you see them build as follows:

public class Singleton1

{

   private Singleton1 instance;

   private Object lockObject = new object();

   private Singleton1() { }

 

   public Singleton1 Instance

   {

      get

      {

         if (instance == null)

         {

            lock (lockObject)

            {

               if (instance == null)

               {

                  instance = new Singleton1();

               }

            }

         }

         return instance;

      }

   }

}

 

Sometimes you get a bit more advanced version of the same thing:

public class Singleton2

{

   private Singleton2 instance;

   private Mutex mut = new Mutex();

   private Singleton2() {}

 

   public Singleton2 Instance

   {

      get

      {

         if (instance == null)

         {

            mut.WaitOne();

            if (instance == null)

            {

               instance = new Singleton2();

               mut.ReleaseMutex();

            }

         }

         return instance;

      }

   }

}

 

There is also another way that we often see, and Jeffery feels is a much better and safer approach:

public class Singleton3

{

   private Singleton3 instance = new Singleton3();

   private Singleton3() { }

 

   public Singleton3 Instance

   {

      get

      {

         return instance;

      }

   }

}

He feels that the first two techniques could possibly fail or cause contention.  However, the third technique is guaranteed by how the framework loads the class definition.  I prefer this method and it is also less code.

 

Happy Coding!

Posted in Computers and Internet | Leave a comment

Quick rundown on what’s in VS2008

NetworkWorld ran an article that gives you a brief but good rundown on what’s new in VS2008.  Well worth the 2 min you’ll spend reading it.

Posted in Uncategorized | Leave a comment

VS 2008 IS RTM!!!!!!!!!

Folks, the waiting is OVER!  VS 2008 is now RTM in all of is glorious editions!  Even the Express editions!!  And those are FREE!!!!!!

Posted in Uncategorized | Leave a comment