# Tuesday, November 21, 2006

When Microsoft discovers a bug in a product, whether it's Windows, Visual Studio, or some other product, they typically fix it. And once that fix is tested and working, the question becomes how to deploy it. Sure, you can put the corrected code into the next version of the product, but that might be years away. There are service packs, but they are pretty far apart, and for good reason. So the first deployment vehicle is the hotfix or QFE (Quick Fix Engineering.) These are typically available only from support and only after you've convinced support you're facing the problem that the hotfix takes care of. (At least, that's the theory. Since a hotfix is a single file, people can and do share them although I suspect you're not supposed to.)

Now there's a new pilot program underway where some hotfixes are being made public, so that you don't have to wait for a service pack. Of course you should approach this with caution, but it can make investigating those hard problems a little smoother. At the moment I see seven hotfixes there: three are for Visual C++.


Tuesday, November 21, 2006 12:56:15 PM (Eastern Standard Time, UTC-05:00)  #    
# Monday, November 20, 2006

Ed Bott has published some advanced tips for Vista. My favourite? Master the Quick Launch bar, including the Add to Quick Launch context menu item and (I didn't know this) keyboard shortcuts for the items in the Quick Launch. More reasons piling up why I want to move this laptop to Vista ... not much longer!


Monday, November 20, 2006 12:24:17 PM (Eastern Standard Time, UTC-05:00)  #    
# Sunday, November 19, 2006

XPS is a new document format. Office 2007 uses it, and your applications can use it too. Under the hood, an XPS document is just a zip file of many XML files and some binary resources (such as images.) The Microsoft XPS page says:

Microsoft has integrated XPS-based technologies into the 2007 Microsoft Office system and the Microsoft Windows Vista operating system, but XPS itself is platform independent, openly published, and available royalty-free. Microsoft is using XPS to bring additional document value to its customers, its partners, and the computing industry.

Since XPS documents describe layout and rendering as well as just content, you can think of them a lot like PDF files. As a result they're likely to show up on web sites or to be emailed to you. If you haven't yet moved up to Vista/Office 2007/IE7 you may not know what to do with them.

The solution is a free XPS viewer. It's up to you whether you want it integrated into IE6 -- I got the standalone viewer from the XPS Essentials. Took only a minute or so to download and install, and I didn't even have to reboot. Get it and be one of the cool kids again.


Sunday, November 19, 2006 7:58:15 AM (Eastern Standard Time, UTC-05:00)  #    
# Saturday, November 18, 2006

Microsoft's Developer Division is really taking this transparency thing seriously. First it opened much of the spec for Orcas, the next version of Visual Studio, to the MVPs, and now it's opening it to the public. Seriously! And not only that, but they're asking you how you feel about these features:

Which features do you think are important? Are we making the wrong assumptions about how you will use Visual Studio and .NET? Are we forgetting about your scenario?

This page lists specifications for Visual Studio and .NET "Orcas". These specifications document the new features you will find in CTP's and provide an opportunity for you to give feedback. Please remember, some features specified below may be cut and others may be significantly altered. We'd love your feedback to help us with this decision process. Your feedback will be delivered into our bug database and shared with the feature team. The team will use your feedback to develop the specification or make improvements to future releases of Visual Studio.

So how important is STL/CLR to you? Or friend templates? Read the specs and scenarios, try them out in the September CTP, then speak up!

There are two things you should know about these documents. First, they can be quite large. The STL/CLR one is 38 pages. Second, they're XPS. On my Vista development machine, with IE7 and Office 2007, I just click to read them. On my XP machine with IE6 and Office 2003, it's not so seamless. Time to get me an XPS document viewer for the laptop.


Saturday, November 18, 2006 7:40:13 AM (Eastern Standard Time, UTC-05:00)  #    
# Friday, November 17, 2006

Microsoft Canada is running a contest. Nominate a developer (or team of developers) who is making software that makes a difference. Subscribe to the MSDN Flash (you should anyway) to make yourself an eligible nominator. Like the nomination form says:

Judges are seeking nominations that present an innovative solution that

  • defines how Microsoft technology (e.g. Visual Studio® development system, Microsoft® SQL Server™ 2005, Windows Vista™ operating system) played a role in making the solution possible;
  • not only helps your business, charity, or community but could help other businesses, charities or communities; and
  • has had a positive impact on a business or within the community.

And when I say "judges", I mean me, Mark Relph and Barnaby Jeans of Microsoft Canada, Stephen Ibaraki and Barry Gervin. Come on, impress us! Nominations are online-only.

And prizes? Of course there are prizes. Like actual cash money for the winning developer, the winning team, and their favourite charities. Not to mention a trip to Toronto (hotel and a plane ticket if you need it) to receive your prize. So what's stopping you? Heck, with a deadline of April 12th, you still have time to write the application and then enter! (Be sure to read the rules about telling the nominees you're nominating them, dealing with applications that use some third party code, and so on.)


Friday, November 17, 2006 7:27:22 AM (Eastern Standard Time, UTC-05:00)  #    
# Thursday, November 16, 2006

The nice folks at Microsoft Denmark have uploaded most of the materials from my recent talk. Thanks to Nikolaj for the link. All of this is in Danish but I suspect most of you will figure it out... my materials are in English once you get them. Højere produktivitet will soon be yours!




Thursday, November 16, 2006 10:03:01 AM (Eastern Standard Time, UTC-05:00)  #    
# Wednesday, November 15, 2006

The nice folks at O'Reilly, who make very good geeky books, have a fun little quiz going on. They show you a code snippet and you guess what book it's from. This is usually (but not always) a matter of guessing what the language is, and that's harder than you might think at first. There's a little timer counting down so the longer you take to make up your mind, the less points you get. Here's a really easy example:

    <p>Here is a paragraph.
    <p>And here is another.

Is that from:

  1. Gaming Hacks
  2. Learning XML, 2nd Edition
  3. GNU Emacs Pocket Reference
  4. HTML & XHTML: The Definitive Guide, 4th Edition

Trust me, most of them are much harder :-)


Wednesday, November 15, 2006 12:27:22 PM (Eastern Standard Time, UTC-05:00)  #    
# Tuesday, November 14, 2006

The recording of our panel at Tech Ed Developers Europe is now available at the .NET Rocks site. "Kate Gregory, Stephen Forte, and Roy Osherove join Richard Campbell and Carl Franklin on stage at TechEd Europe in Barcelona for this discussion about Agile methodologies." We enjoyed doing the show, the folks who were there in person asked plenty of questions, and I hope you enjoy listening to it.


Tuesday, November 14, 2006 12:05:04 PM (Eastern Standard Time, UTC-05:00)  #