Yet more ASP.NET 2.0 & Generics

Continuing on my ASP.NET 2.0/Generics adventure…. there also seems to be no way to specify that a Page or UserControl inherits from a class with a type parameter using the Inherits attribute – and doing this in the code doesn’t work, as the partial class declarations end up specifying different base classes. Am I missing something elementary here?

Generics in ASP.NET 2.0?

I’ve finally gotten around to having a closer look at the current Whidbey beta – particularly from the ASP.NET angle. However, I’ve got a fairly straightforward question that so far I haven’t been able to find any answer to – or even the slightest hint of one. Suppose I want to create a custom Web Control, that accepts a type parameter so… Read more “Generics in ASP.NET 2.0?”

Microsoft Error Messages

Apologies to everyone in advance – this just made me laugh. There was once a young man who, in his youth, professed his desire to become a great writer. When asked to define “great” he said, “I want to write stuff that the whole world will read, stuff that people will react to on a truly emotional level, stuff that… Read more “Microsoft Error Messages”

Automatically convert VB.NET code to C#

I’ve just launched another utility on Developer Fusion – this time, a converter from VB.NET to C#. This is the only VB.NET to C# converter that I’m aware of which is currently online. The code is very much a work-in-progress. As with the C# to VB.NET converter, the code is based on the great work of the #develop team. I’m… Read more “Automatically convert VB.NET code to C#”

Automatically Convert C# code to VB.NET

I’ve just put up the first (of many) planned utilities on Developer Fusion – a conversion tool for automatically translating C# code into its VB.NET equivalent. Feel free to take a look, and let me know if you find any problems. The credit is 99.99% due to the guys behind #develop. I’ve simply made this tiny bit of their great application… Read more “Automatically Convert C# code to VB.NET”

Windows Installer XML goes live on SourceForge

Microsoft has released the source code for the Windows Installer XML (WiX) developer tool to SourceForge earlier today under the IBM Common Public License as part of the Shared Source Initiative. This is the first SSI to go “public” on Source Forge rather than a Microsoft site, and the first to use an externally created “Open Source” license. There’s a discussion on… Read more “Windows Installer XML goes live on SourceForge”

The Coolest DHTML Calendar Widget…

Just came across a very cool DHTML Calender control that – guess what – allows you to select dates/times and stick them in an input field! Obviously its client-side, so its nice and fast, customizable, released under LGPL, and best of all works in almost any browser (Internet Explorer, Opera, Mozilla, Safari …). Definitely worth a look :,,)

Windows IE exploit found after source code leak

I must admit this happened much quicker than I thought it would :- see these articles on the Register and Security tracker – apparently an exploit for a buffer overrun problem in IE *5* has already been released – supposedly discovered by reading the leaked windows source code. I’m curious as to whether this source code leak will be a… Read more “Windows IE exploit found after source code leak”

Performance of C# vs VB.NET

Someone asked me a few days ago whether there were any major differences between C# and VB.NET performance, and my immediate reaction was “certainly not!”…. until I just came across this article on In it, the author points out that for the number of program he tried, the C# version consistently generated fewer lines of IL code than its… Read more “Performance of C# vs VB.NET”