Rants, rambles, news and notes from another geek

Geek Notes 2004-04-01

April Fools Day!

Hey… are any of my readers going to the MVP Global Summit next week? If you’re going to be there, ping me on IM… I’m on MSN as peter at provost dot org.

My TechEd BOF Session Proposal Has Been Accepted!

Today I proposed a Birds of a Feather session for TechEd 2004 and it has been accepted for voting. If you think this would make a good BoF session, please go vote. If it happens, I plan to bring a fully working CruiseControl.NET virtual machine running Subversion as the SCM system. :)

Here is what I submitted:

Continuous Integration in .NET

Setting up a continuous integration system for .NET development is a challenging but essential process. In this session, we will discuss the tools that are currently available, see demos of one or two and talk about the state of CI in .NET.

You can vote here.

Geek Notes 2004-03-31

So I’m still out at a local school district doing SharePoint stuff. Having fun and doing some very interesting stuff that I’ll be writing about soon. It is way too much for a bog post though, so I’m writing an article. Soon…

How to Add a New Managed Path to Windows SharePoint Services

If you have used WSS and SPS before, then you have probaby created a “Team Site” or something under the “sites” folder. When you do that you get a URL like this:

http://myportal/sites/myteamsite

But what if you want something like this?

http://myportal/teamsites/myteamsite

It turns out this is fairly simple. To get started, open Windows SharePoint Services Central Admin. In the “Virtual Server Configuration” section click the “Configure virtual server settings” link. In the virtual server list, click the server that you want to configure. (Most people only have “Default Web Site” here.)

Now you are on the “Virtual Server Settings” page. In the section called “Virtual Server Management”, click on “Define managed paths”.

You should see this screen:

Scroll down to the bottom of the screen to the “Add a New Path” section and type “/teamsites”.

Click OK and you are done. You should now be able to create sites under /teamsites (or whatever other path you defined.)

Plaxo Anyone?

I recently got pinged by Scott Hanselman to update his Plaxo record and I decided to look at this product again. It still seems to be free, which is cool. But it makes me wonder… how are they making money? They claim not to be selling my contact information or lists, so where can they create revenue?

Is anyone else out there using Plaxo? The Outlook integration is pretty seamless. I must admit I’m impressed (anyone know how they got their icon into the Outlook Preview window?).

Geek Notes 2004-03-29

Another day another dollar… or something like that.

Geek Notes 2004-03-26

Wow. What a month for MSDN Magazine articles. The April 2004 issue looks amazing. Some other good stuff out there too…

  • Beware of Fully Trusted Code - This article from MSDN by Keith Brown explains why what it means for a .NET Assembly to be fully trusted and why you should care. “By default, ASP.NET server applications run with full trust because all the code is installed right there on the server.” Consider the implications of that statement and read this article.
  • Test-Driven C# - As expected, now that Jim Newkirk is working at MS we are starting to see some XP and TDD articles on MSDN. Good stuff. Still waiting for Jim’s book
  • Code Coverage Analysis in .NET - This article talks about how to can test the coverage of your unit tests. We already have tools like NCover and others, but this article shows you how to write your own.
  • BizTalk Overview - Darrell Norton has put together a set of BTS links from all over the ‘net. If you are working with this product, check out this page.
  • .NET Nuke 2.0 Released - The very popular portal project has hit a milestone release. I’ll have to check this out soon…
  • Writing Truly Generic Code in C# - Jesse Ezell talks about using delegates to accomplish loose coupling. Cool.

Geek Notes 2004-03-24

As I said in my last post, I’m working on a custom site definition for WSS for a local school district. I’m learning tons of interesting stuff that I will be writing about soon. It is amazing how poorly documented this task is. They give you just enough to get started but not enough to do anything real. Oh well… as Brad Wilson likes to say, “I can bend it to my will.”

  • Fiddler - Wow. This looks like a useful little tool. Basically it is an HTTP debugging proxy. I needed something like this a month ago… [via Scott Watermasysk]
  • Google Before Asking Questions - Apparently everyone found this at the same time… very funny and very true.
  • Healthcare Website Login - Oops. I just gave a talk about web security at DevDays, but I don’t think I covered something this stupid.
  • What is a Smart Client? - ChrisAn collects some content and references that answer this question. I agree.

VS.NET Tip: Collapsing Lines in an ASPX or HTML File

One of the things I love about the C# editor in VS.NET is how it lets you collapse regions into a little plus sign. Then when I want it back I can just click to plus to see what’s there.

I’m currently working on a Windows SharePoint Services (WSS) Site Definition and I’m using VS.NET to edit the template ASPX files. What I really wanted was a way to collapse table and div tags down into plus signs so I could get the out of my way.

Well, it turns out you can do it!

Here’s how:

Select the text you want to collapse, and choose Outlining Hide Selection from the Edit menu (or just use CTRL-M, CTRL-H).

POW! The file now has a collapsed region. You can open and close that region by clicking the plug sign or using CTRL-M, CTRL-M.

Very cool.

BTW… so far this works in any text file you open in VS.NET. We’ll see if that keeps up.

DotNetDevs Launched!

Brad Wilson (aka The .NET Guy) just launched a new site consisting of nothing but high quality articles about .NET development at www.dotnetdevs.com.

It currently contains five article written by Brad about a number of interesting topics, but I know Brad is looking to get other writers involved.

My favorite article is Attribute Based URL Dispatching where Brad describes his technique for using .NET Attributes and Reflection to dynamically create URL endpoints when using HTTP Handlers. Very cool stuff.

Keep an eye on this site. If nothing else, you should subscribe to the RSS Feed [headlines full content].