Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Oops in my WebSearch Code - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

Oops in my WebSearch Code

I have kind of put my WebSearch code off on the back burner while I worked on real customer work for the last couple of weeks.  Well, I set down this morning and started looking at my data and how things were progressing with about 10 million records.  Well, I found an oops, and I think it was a pretty good one.  It ends up that I was taking a base url and the script and just plugging them together in a certain case.  The result was that I was creating urls like http://www.domainname.com//page.asp instead of http://www.domainname.com/page.asp.  Well, I took care of that this morning.  I decided to purge my data and start over.  I checked my data a couple of times this evening and it appears that everything is running more correct now.

I have made another change to how I am pulling data back from the database in attempt to get around another bottleneck that I am seeing.  More info on this after I have a chance to see it when there is more data in the database.

Wally

Comments

Scott Mitchell said:

Interestingly, the .NET Framework contains an *internal* class, UrlPath, which has helpful methods that do things like combining URLs parts and making sure there aren't two // and such.

Now, what is frustrating, is this class is internal, meaning only classes in the System.Web.dll assembly can use this class. Which sucks, because I'd like to utilize this functionaity without having to "reinvent the wheel." Meh.
# February 9, 2004 11:11 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)