[How Do I:] Implement URL Rewriting?

Please install Silverlight or click download to watch video locally.

In this video Scott Golightly shows how to create an ASP.NET HttpModule to "rewrite" the URL when a request for a web page comes in. You may want to rewrite URLs to create friendly URLs or to direct an old URL to a new URL. We will look at the code needed to implement URL rewriting and also how to handle page post back events.

Presented by Scott Golightly

Duration: 22 minutes, 27 seconds

Date: 01 July 2007

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 30

Leave a Comment

lg1382 : On March 10, 2008 3:51 PM said:

Can this be done withe VWD 2005 EXPRESS?  I am having issues getting this to work.

atarikg : On April 05, 2008 2:46 PM said:

It must be done with Express...

Soha.Jawabreh : On May 10, 2008 1:02 PM said:

The instructor is so slow in presenting the material and takes time to write the piece of code

I preferred Scott

dmitry39 : On May 14, 2008 1:38 PM said:
bdnagesh : On May 20, 2008 5:06 PM said:

Not a good tutorial

bdnagesh : On May 20, 2008 5:11 PM said:

instructor is sleeping, please dont do any tuts in future

dbmaster : On June 12, 2008 11:59 PM said:

I have done the same thing with Global.asax and write an article with SAMPLE project

Please have a look and decide what is the best way.

http://blog.joggee.com/?p=182

Thanks

master3g : On July 03, 2008 7:45 AM said:

this tutorial is a totalwaste if meant for teaching practical knowledge.

huykhoi8384 : On July 24, 2008 5:33 AM said:

thanks

darshanthacker : On July 30, 2008 3:38 AM said:

please give more understanding to this 1

cv_vikram : On August 08, 2008 4:57 PM said:

thanks for the vid...

Alexander_the_Great : On August 23, 2008 5:53 PM said:

why it doesn't work with regular expression?

Help!

How can I use it with regular expression?

pgklada : On September 11, 2008 2:10 AM said:

Scott is a bit slow, but I still learned a bit that has avoided me for so long (not that I would not have been able to find and master if I had put enough effort in the past, but this piece of knowledge was just in front of my nose). So, thank you, Scott Golightly.

azoapes : On September 26, 2008 9:56 AM said:

Very slow indeed, and an annoying background buzz. The info could have been presented in 10 minutes, rather than these 22.

But thanks for the effort, Scott! Much appreciated.

devinmccloud : On October 01, 2008 2:19 PM said:

It would be nice to see more video include a c# version. All I can say is that I am appreciative of your hard work and effort to teach. These videos take time and resources to make, thank you very much!

sameeralibhai : On October 03, 2008 3:30 PM said:

The demo is good, but to make it quicker, maybe use some code snippets like other presenters, so that we don't need to wait for you to type it out.

DesignByOnyx : On October 06, 2008 3:37 PM said:

Not kidding... play this video at a low volume when you go to sleep... I guarantee you will wake up the next day fresh as ever.

But seriously, sounds like someone put a mic in the room and recorded someone talking to himself the way one does to keep his thoughts strait while programming.  

However I really appreciate the fact that Scott took the time to do this.  In between the pauses and typing there is some very useful information.  I do not want to sound like I am critical of the efforts that go into making these tutorials available for public use.  It might be a better idea to get someone with a faster pulse next time.

Dangermouse : On October 27, 2008 5:53 PM said:

This guy needs taking off these tutorial vids, and putting in a room with a bed so he can get some sleep. Disgraceful decision to let him make widely available tutorial videos when he has zero communication skills.

He can't be bothered doing them so how can anybody expect people to listen to him? The bloke who did the earlier videos like the tips and tricks is easily the best.

Any chance the videos done by this guy can be replaced?

djibril_chimere_DIAW : On October 28, 2008 10:20 AM said:

Thanks ! Jërëjëf !

rockinthesixstring : On October 29, 2008 12:26 AM said:

This guy reminds me of Toby from "The Office".

Collective.soul : On November 09, 2008 12:40 AM said:

its a really usefull video !! thank you very much :)

hyeon_k : On November 14, 2008 1:24 PM said:

I think author intentionally edited it to be played slower after record. If your player has an option to adjust speed, make it play faster. You may get what his actual voice might be. This is nice video! Tanks dude!

khushak : On February 04, 2009 12:27 AM said:

i used this code on my project but result is page not found. then i upload this code on server result is same. but its working on local system :(

why this is happing

Can any one give reply

bohunt : On February 13, 2009 12:39 PM said:

Perfect, just what i need!

hoanglinh2211 : On March 09, 2009 9:48 AM said:

@khushak: try specify the UrlRewrite assembly in web.config, like this:

<add name="UrlRewrite" type="SampleProject.UrlRewrite" />

Hope it works :)

cleverwisdomforever : On April 10, 2009 1:58 AM said:

Very useful Video, thanks Scott Golightly!!

dhanrajsubbiyan : On June 21, 2009 1:46 AM said:

I want the Asp.Net 3.5 (2008)more video materials.......

jtutoff : On June 26, 2009 7:44 PM said:

Great!

DiegoVieira : On August 13, 2009 11:53 AM said:

If you have like 60 pages on your website, you will end up doing "if else if else" all day.. With PHP you can do this more easier!

ileden0 : On August 19, 2009 3:29 PM said:

we are wasting our time here :(

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities