Thursday, October 16, 2008

Presentation on .NET 3.5

I did a presentation on .NET 3.5 last evening for my company. The presentation with demo code is posted on my SkyDrive. The presentation went well... I was a little bit nervous, but it went away quickly after I'd started.

I've made use of the demo pptPlex functionality from Office Labs. The version posted here, doesn't have these nice little extra's, but see the pptPlex website for more info about this tool. I didn't used pptPlex during the presentation the whole time... during the presentation I noticed I was presenting the wrong sheets, with old content on it. I changed back to normal presentation mode. Afterwards, I found the 'clear cache' under 'Learn more' to tidy up the cache and got the latest version of the sheets (but such a strange place for such an option).


Thursday, October 9, 2008

PandP Cheat Sheet

A cheat sheet with all available patterns & practices has just been made available on Codeplex. It gives a grouped overview of all available p&p products.

Wednesday, October 8, 2008

Mount VHD in host OS

Just discovered... mounting a VHD is possible!

The registry should be edited with:

Windows Registry Editor Version 5.00




@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /u \"%1\""


@="\"C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\" /p \"%1\""


Monday, October 6, 2008

Code Review Checklist for ASP.NET

I'm supposed to do a code review for an externally developed ASP.NET application on my job this week. I'm posting here some guidance to perform this review.
The goal of the review should be
  • The code satisfies the requirements
  • The code is robust (ie stable and should be descriptive in case of error)
  • The code handles wrong inputs (SQL/XSS Injection!)
  • The code is scalable
  • The code is extensible and maintainable
(free to Zysman).

Microsoft has a couple of checklists about these topics (unfortunately for .NET 1.1). Useful are: Securing ASP.NET, Security Review for Managed Code and Code Review for .NET Application Performance. And just found the guide for the .NET 2.0 version: How To: Perform a Security Code Review.