OdeToCode IC Logo

Good and Bad Software

Sunday, January 11, 2004 by scott
Currently on my bad software list is the MSDN search engine. It seems it has been many months since the search engine worked well. Last night a search produced results where the same article appeared about 100 times in the result list. Search results never seem to find MSDN Magazine articles, unless you go to the home page and search just magazine content. It used to find them. It seems very broke.

On the good software list is Virtual PC.

I currently have the following Virtual PCs setup:
  • Whidbey - Windows 2000 Server with the Whidbey beta installed
  • RSBETA - Windows 2000 with the Reporting Services beta and SQL 2000 installed
  • Mandrake - Mandrake 9 distro of linux. Complete with a functional Mono .NET environment.
  • Longhorn - The PDC build of Longhorn, with Whidbey and the SDK installed.
  • Experiment 2000 - My Win 2000 plaground for trial software, etc.
  • Exchange - Where I installed Exchange Server 2003 to play around.
  • CSK2000 - Where I play with the ASP.NET Community Starter Kit on Windows 2000
  • CSK2003 - Where I play with the ASP.NET Community Starter Kit on Windows 2003 WebEdition

Virtual PC is a great way to experiment with software, test, use different browser versions - there are so many possibilities. It has an undo feature to reset any changes you've made - so even the worst software install can be undone. I keep a Virtual PC image of a Windows 2000 SP4 install around, and whenever I need a new virtual PC I make a copy of the file, attach it to a Virtual PC, and I'm off.

Best of all it keeps my primary OS (2003 Enterprise Server) nice and tidy.

Improving .NET Application Performance and Scalability

Saturday, January 10, 2004 by scott
A newsgroup posting caught my eye and took me to the home of the Microsoft Performance Team. They are working on a guide for anyone interested in the performance and scalability of .NET applications and soliciting feedback.

After reading just two of the chapters (on ASP.NET and ADO.NET) I realized this guide is going to be the reference for .NET performance. It leaves very few stones unturned and mentions or references almost every perf tip I know of (and quite a few I did not). Why do jagged arrays perform better than multidimensional arrays? When could an ASPX page get compiled into a single asembly? The guide is super.

I thought of a few ideas while reading through, and since they are soliciting comment I sent some along. I'm interested to see or hear if they have an impact.

Who Is The Mole?

Friday, January 9, 2004 by scott

Watched the season premier of Celebrity Mole. I think the first season of the Mole (no celebrities) was much better – the puzzles and games were more interesting and harder for the players to solve. On the other hand, there is a lot more comedy in the celebrity version. There are some genuinely funny moments, but I keep wondering, with celebrities, that some of what happens is scripted (or at least encouraged).

So my first guess at the Mole? Dennis Rodman. Usually the Mole has a reserved personality. Most people would not describe Dennis as reserved - but - the “I really don't care what happens” attitude works pretty well for someone who wants to cover thier mole tracks...

HttpModule Catch-22

Thursday, January 8, 2004 by scott

I have the .Text engine running in an application underneath the ASP.NET Community Starter Kit. This required a bit of fiddling, because the CSK installs an HttpModule at the application root. When a request goes to the Blogs directory (.Text), the ASP.NET runtime doesn't find the CSK module in the .Text /bin directory and throws an exception (the assembly is in the CSK /bin directory - one level higher).

I thought this would be easy to fix with a tweak in the <httpModules> section of the .Text web.config:

    <remove name=“CommunitiesModule“ />

However, I was still getting an exception. After some google searches I determined the workaround is to place the assembly with the HttpModule into the /bin directory of the application which doesn't use the assembly in order for it to then be removed with the above entry.

This makes sense in a Joseph Heller sort of way....

There was only one catch and that was Catch-22, which specified that a concern for one's safety in the face of dangers that were real and immediate was the process of a rational mind. Orr was crazy and could be grounded. All he had to do was ask; and as soon as he did, he would no longer be crazy and would have to fly more missions. Orr would be crazy to fly more missions and sane if he didn't, but if he was sane he had to fly them. If he flew them he was crazy and didn't have to; but if he didn't want to he was sane and had to. Yossarian was moved very deeply by the absolute simplicity of this clause of Catch-22 and let out a respectful whistle.
"That's some catch, that Catch-22," he observed.
"It's the best there is," Doc Daneeka agreed.