OCDProgrammer.com

It's Microsoft's World, and I'm just living in it
View Clarence Klopfstein's profile on LinkedIn

Clarence Klopfstein's Facebook profile

This site is under construction...

Categories

New Comments

Referring Sites


Disclaimer

  • This is MY blog. The views represented here are not in relation to anybody else. Please read my full disclaimer for a more complete disclaimer.

Yet Another URL Shortener

August 15, 2010 14:34 by ckincincy

So I got board on Friday and decided to create my own URL shortening service.  Went looking for a domain and found ocdp.us.  A spin off of this domain so I went and did a quick search on Google to make sure I didn’t spell something bad. Google wondered if I meant to type octopus:

octopus

So I am aware of the sound of the domain :-). 

I went looking for an open source solution that existed and found one that best met my desires. One built by jobping.com.  It was ASP.NET MVC based, so figured it was a good way to work on MVC while giving me what I wanted.

The pre-baked solution was missing a few things that I wanted.

1. The ability to have a custom short URL.

2. The ability to see a report of short URL’s.  Basically how many clicks have happened on that URL.

So I took the jobping.com solution and made my own.

You can see my solution in action two ways.

1. Click ocdp.us/a to basically come back to this page.  This was an auto generated url.

2. Click ocdp.us/lwlfb to go to Loving With Luggage’s site on Facebook.  This is a custom URL.

At some point in the future I’ll share the code to my site, but need to make sure the unit test are written just for code completeness.


Comments

December 3. 2010 02:31

Yet Another URL Shortener

Yet Another URL Shortener

OCDProgrammer.com |

Comments are closed