ExpectedExceptionBaseAttribute and “Object reference not set to an instance of an object”

You’re writing unit tests with Visual Studio and you want to verify that you’re throwing the correct Exception. You could use ExpectedExceptionAttribute class but it only allows you to verify the type of the Exception. You might want to verify other properties so you decide to create a subclass of ExpectedExceptionBaseAttribute, which allows you to have …

New Adventure

After working in SQL for more than 19 months, I have decided to pursue a new opportunity in Office Live. On June 1, I’ll begin my Office Live adventure.

Microsoft Surface

Cool product, cool name, cool website. I saw the demo in our company meeting and I really like it. http://www.microsoft.com/surface/ Executive Q&A: What the new surface computing category means for Microsoft and consumers http://www.microsoft.com/presspass/features/2007/may07/05-29Surface.mspx Microsoft Launches New Product Category: Surface Computing Comes to Life in Restaurants, Hotels, Retail Locations and Casino Resorts http://www.microsoft.com/presspass/press/2007/may07/05-29MSSurfacePR.mspx

10 Reinvigorating Facts About Microsoft’s Profits

I’d like to share an interesting article on Microsoft’s profits published a while ago: 10 Reinvigorating Facts About Microsoft’s Profits … Microsoft last week announced quarterly revenue of $14.4 billion and net income of $4.93 billion. In other words, Microsoft’s daily net income is about $55 million. That’s $55 million in pure profit every 24 …