Ask and Ye Shall Receive: Edit and Continue for C# in VS2005

The cat’s out of the bag and the word is spreading like wildfire: Microsoft has added Edit and Continue to C# for VS2005. The VS/Framework developers are really knocking me over with their support for the community these days. I mean, I’ve always had good relationships with them and been able to affect minor features via feedback […]

Implementing IXmlSerializable Disables Support for XmlRootAttribute

I’ve dealt with this before, but I’m bumping into it again so I figured I’d blog about it to vent a little… If you implement IXmlSerializable to customize the output of your type when it partakes in XML serialization, you can’t even decorate it with XmlRootAttribute. This basically means that if your type is the […]

Another Suggestion Made For Whidbey

I just entered a suggestion for the Whidbey .NET Framework. It has to do with adding a Disposed event to the SqlDataReader. Every other major class (SqlConnection, SqlCommand, SqlDataAdapter, etc.) in the System.Data.SqlClient namespace has a this event, so why not SqlDataReader. My personal reason for having it is that I have a data access […]

ConfigXmlDocument does not set BaseURI

Here’s a missing piece of functionality that’s frustrating me right now: Basically, XmlDocument has a virtual property called BaseURI that subclasses can override to provide the base URI (go figure) from where the XmlDocument instance was loaded. In a normal XmlDocment, if you call the Load override specifying the “filename” parameter, it will set it’s BaseURI […]

When would SqlConnection.Open blow away a COM+ context?

Ok, this is pretty crazy. I’m on XPSP2 and I’ve entered a ServiceDomain with a ServiceConfig that requires transactions with an IsolationLevel of Serializable. Now, I’ve done this a million times before and it works no problem. In the specific scenario I’m dealing with now, I’m seeing something completely insane. I’ve constructed a SqlConnection and […]