How to resolve relative url's without ResolveUrl

Sometimes you need to resolve relative url’s without ResolveUrl. If the code is executing outside a Control, for example in an IHttpHandler or business layer code somewhere that has no reference to a Control, you can’t call Control.ResolveUrl. The System.Web.VirtualPathUtility class has some very useful method for converting from an app relative path to an absolute path: string absoluteUrl = VirtualPathUtility.ToAbsolute(relativeUrl);

October 15, 2007 · 1 min · 61 words · Nick Berardi

Anything For Sale By Owner

As I alluded in a post a couple of weeks ago, I have been a bad blogger. And I have neglected my community of readers. However I would like to tell you what I have been doing in the last couple of months while I have been neglecting my blog. I recently got involved in creating a startup as the lead developer for an online classifieds site called Anything For Sale By Owner. From the ground up this was conceived as a middle-ground between craigslist and ebay where every listing would be charged at a static rate of $1.00/month. The $1.00 is a way to week out the crap from craigslist and the death-by-fees from ebay. ...

October 1, 2007 · 4 min · 839 words · Nick Berardi

If Web Comments Met Real Life Situations (NSFW)

This made me laugh so hard that I just had to share it. You don’t really realize just how juvenile some people until you can see and hear it.

September 19, 2007 · 1 min · 29 words · Nick Berardi

Creating a more accurate JSON .NET Serializer

Recently I have been diving in to the world of REST and all the great things that come along with that. If you are not familiar with REST and what it means to have a REST Web Service for your site, you can go through the Digg API, which should give you a pretty good idea. My company has been contracted to build the framework for a new Web 2.0 initiative of one of our clients. You cannot do Web 2.0 if you are not using some kind of AJAX/REST combination. ...

August 24, 2007 · 4 min · 804 words · Nick Berardi

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Recently I have started seeing this number repeated over and over again on the net. You may be asking what it represents and why it is so important. Well this number is one of the worst kept secrets of the MPAA. This 32 character 16 bit number is the key used to descramble data on HD-DVD disc’s. I have seen it wrote many different ways: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 09-F9-11-02-9D-74-E3-5B-D8-41-56-C5-63-56-88-C0 09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0 09F911029D74E35BD84156C5635688C0 {09F91102-9D74-E35B-D841-56C5635688C0} ...

May 2, 2007 · 5 min · 1006 words · Nick Berardi