Categories
Personal

Tragedy in Asia

Let me just say that my thoughts are with all those affected by the terrible events in Asia today and their families.

Categories
Software Engineering

Problems with the November CTP

I’ve finally managed to get hold of a copy of the November CTP, but have hit a strange problem when editing any web.config file – with a message box stating “Method not found: ‘Int32 Microsoft.VisualStudio. TextManager.Interop. IVsTextViewEx.IsExpansionUIActive()’.” whenever I try to cut/paste/delete (and trying to type in the file just doesn’t do anything). The other source files seem to edit … Read more “Problems with the November CTP”

Categories
C# Software Engineering

Customize XML Serialization using IXmlSerializable

XML Serialization in .NET provides an incredibly useful (and easy) way to turn objects into XML and back again. However, in some situations, you may need more control over how your object is serialized. Recently, I found myself needing to serialize an object that contained a number of property name/values – stored using a NameValueCollection. However, you can’t serialize this … Read more “Customize XML Serialization using IXmlSerializable”

Categories
Developer Community Personal

Home for Christmas

I’m back home for Christmas now (yes, I know – its barely december… what can I say…?), so I thought I’d finally update my various blogs! It’s been a busy past few months…

In mid-October, I attended the first Microsoft “Connect” event held in Barcelona. The idea behind this was to bring together community leaders from around Europe – along … Read more “Home for Christmas”

Categories
Developer Community

MSDN Connection (UK)

Microsoft launched a revamped UK MSDN site yesterday, featuring a new “MSDN Connection” service. This basically allows you to customize the MSDN portal according to the technologies and programming languages you’re interested in. And even better…. you get an RSS feed too! 😀

Definitely worth signing up if you’re a UK developer! Take a look here: http://www.microsoft.com/uk/msdn/ 

Categories
ASP.NET Software Engineering

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?

Categories
ASP.NET Software Engineering

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?”

Categories
Developer Community

CodeZone UK Launched

For all you UK developers out there – CodeZone UK was officially launched during the TechEd Europe conference, after a lot of work on Microsoft’s part (with a little bit of help from community leaders to provide some initial content!) As of last Friday the site now indexes content from both Developer Fusion and DNJ online, and hopefully many more … Read more “CodeZone UK Launched”

Categories
Uncategorized

Holiday!

Well, I’m now off Uni for 3 months over the summer, which should mean I’ll finally get time to code my ASP.NET content management system for Developer Fusion…. write some articles in the process, plus squish a few bugs on the C#/VB.NET code converters!

Attended a great talk by Scott Guthrie a few weeks ago on ASP.NET 2.0 at the … Read more “Holiday!”

Categories
Developer Community

Thames Valley User Group Kick-off Meeting

Just thought I’d pass on the word about the first Thames Valley User Group meeting. It’s being held on 21st June at Microsoft Campus, Thames Valley Park (UK!). Speakers include Scott Guthrie (don’t think we need any introduction there…), and Andy Payne (technical architect at HP UK).

Membership and attendance are totally free. For the full agenda, check out http://www.thamesvalleyusergroup.net/agenda.aspx. … Read more “Thames Valley User Group Kick-off Meeting”

Categories
Software Engineering

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”

Categories
C# Software Engineering

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#”