As mentioned in my last post, I'm working on several extensions for Community Server 2.1. I used to use the Intensive.CodeHighlighter library by Gary McPherson, but I could not find any updated version. Therefore I "re-engineered" a .NET 2.0 version and improved its configuration handling. No custom
configSection is required anymore.
Secondly, I was working on a solution for enabling coComment in CS2.x. Scott Elkin asked my two days ago for some hints because the coComment support in CS 2.x was broken if you give our posts names. However, after I found out about the
BlogThreadQuery, I saw that Keyvan Nayyeri already published the same instructions I was preparing.
Anyway, what's already running on this site is my custom spam rule using Akismet. You can see the module's settings to the right. I'd really like to see it in action, but up to now there was no spam knocking on my door. But I'm convinced that it will take only a couple of hours until the first spam will be rejected. As soon as I'm sure of its effectiveness I'll publish it.
Finally I managed to update my site. I already missed the last major step from 1.1 to 2.1. However, during the last few weeks the number of spams increased daily. Because CS 2.0 introduced a spam checker, I decided to bite the bullet. Of course I took the harder route: Not only updating from CS 1.1 to CS 2.1 beta 1, but from .NET 1.1 to 2.0 as well. Surprisingly it went smoother than expected:
- Shutting down my site. ASP.NET 2.0 introduced a new feature: if you put a file named
App_Offline.htm in the root of a web application, ASP.NET will shutdown that application and just send back the content of this file to every request for dynamic pages. (More details by ScottGu)
- Upgrading the database: first I applied
CS_1.1_to_2.0_upgrade.sql from the CS 2.0 distribution, then
cs_2.0_to_2.1Beta1_upgrade.sql, and finally
cs_ASPNET2_Membership_Schema_Update.sql because of the migration to .NET 2.0.
- Uploading all the files for CS2.1b1. Quite time consuming because I took the chance to clean up my web space.
- Fixing my post names. Even more time consuming. I used to give my post descriptive names, which was not well supported by CS in the past. However, they fixed it, but now all URL of my posts are broken. That's because CS now encodes the post name, and all hyphens were converted to
_2D00_. So I went through all my posts and fixed their names. (that's the first time I'm glad that I'm not posting so much [;)])
- Finally I deleted
App_Offline.htm again and reviewed all settings in the control panel.
So everything went pretty well. However, the site is not skinned yet. But I refrain from going to the time and effort of creating a decent design until CS2.1 is released. Instead, I'll invest some of my spare time in some CSModules.
After the great success of our last year's .NET Summit, our .NET user group is proud to announce the NRW06 Community Conference:
More than 20 speakers, up to 250 attendees.
And before you say: not another summit of Microsoft lovers: we also have talks about PHP and Linux (do you know Patrick Lauer?)
Anyway, don't hesitate to register. Everyone's welcome.
...is now called Windows PowerShell and available as RC1.
Heath Stewart says in his comment:
I find this tedious. Typing "cmd" is so much better than "command" as we had to in Windows 9x, just as "msh" is so much better than typing "powershell". The more generalized "Microsoft Shell" sounds prominant, like "korn shell" and "bash shell". "PowerShell" just sounds like too much of a buzzword, and buzzwords don't tend to last.
I agree on him. I guess I'll continue saying Monad as I'm still saying Avalon, Indigo,... well, you name it.
BTW, did the marketing folks at Microsoft try Google before picking PowerShell?
Stanislav Lem, September 12, 1921 - March 27, 2006