In my last post, I talked about the new XslCompiledTransform class in .NET 2.0. It’s very cool, and seems to be very fast once it is loaded. There’s just problem. What if you have more than one stylesheet? I have a customer who builds their site using XML->HTML XSL Transformations, and they have around 200…
Author: Cory Foy
Improving the performance of XslCompiledTransform
In .NET 2.0, people may have noticed that the new recommended way of doing XSL transformations is now System.Xml.Xsl.XslCompiledTransform. And they may be tempted to do something like the following: public string Transform(string xml, string xsl){ System.IO.StringWriter writer = new System.IO.StringWriter(); System.Xml.Xsl.XslCompiledTransform t = new System.Xml.Xsl.XslCompiledTransform(); XmlReaderSettings settings = new XmlReaderSettings(); XmlReader xmlReader = XmlReader.Create(new System.IO.StringReader(xml)); XmlReader xslReader = XmlReader.Create(new…
Switching to [Vista|Vs2k5|New Things]
This morning on Slashdot they have a story about CIOs’ First Impressions about Vista. Similar to other stories, they focus on how long companies are waiting to roll out Vista. The problem is that this isn’t unique to Vista – or Microsoft. I’ve worked for companies doing Java, Ruby, ColdFusion, ASP and .NET. We’ve had…
Installing Team Explorer for VSTF without the VSTF DVD
On my recent post about Finding Team Explorer someone asked about how to get it when all they have is the VSTD (Visual Studio Team Developer) DVD. Basically Visual Studio shipped before TFS, so the client isn’t on those DVDs. However, you can get it from our download center. CodePlex, Microsoft’s new code sharing site,…
Bowling revisted
Last week, I was onsite with a customer, and we were discussing Test-Driven Development. Actually, we were discussing the Unit Testing features of Team System, but since a lot of the books talk about TDD with the Unit Tests, the conversation wandered into it. To talk about it, I whipped out the bowling example. I…
About Microsoft posts…
Last night I was chatting with a good friend of mine in D.C. and he said that he was reading through this site, and saw stuff about Ruby, and Agile, and TDD, and then, Microsoft, Microsoft, Microsoft, Microsoft. Well, duh. ;) Actually, yes, I’m sure that this blog will have more Microsoft stuff than it…
Finding Team Explorer
I’ve been playing around with VS2005 and Team Foundation Server. Well, I’ve been reading several books on it, and getting my systems set up for it. I got Team Foundation Server (TFS – the Source Control portion) installed on a Virtual Machine, got Visual Studio (both the Dev and Tester) versions installed on another machine,…
Setup can’t find hard drive…
Yesterday afternoon I got my spiffy new Dell in which will be my desktop in my home office. I decided to plop Windows 2003 Server on it since I want to setup several different things to play with. So, I popped in my trusty CD, fired up the installer, and began. I got only part-way…
Windows Live Writer
So, I’m jumping on the Live Writer bandwagon here. Since I have 3 or 4 different blogs I post to, and because I’ve heard so many good things about the tool, I decided to give it a test drive.
Visual Studio Team System Chat
Have you been using VSTS and have questions, or taken a look at want to see more of what it is all about? On November 8th, members of the VSTS product group are going to be available for an interactive chat about the features in the many different flavors of VSTS, and what’s new in…